aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src
diff options
context:
space:
mode:
authorGravatar KillyMXI2017-07-05 00:28:30 +0300
committerGravatar KillyMXI2017-07-05 00:28:30 +0300
commitba2bdfe79f76296fd5c9eebe8acb3ea2aa92f7ff (patch)
treec9a6b5f55fda394e599baa6a0d5a28fa13c04ea9 /juick-www/src
parente3a224f6cc9e14c1cd2211ae29064d97a4febc1a (diff)
juick-www: fixed: scroll to new reply
Diffstat (limited to 'juick-www/src')
-rw-r--r--juick-www/src/main/static/scripts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index 78be5344..fa6d1307 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -171,7 +171,7 @@ function nextReply() {
if (li) {
li.classList.remove('reply-new');
li.removeEventListener('click', this);
- li.childNodes[0].scrollIntoView();
+ li.children[0].scrollIntoView();
updateRepliesCounter();
}
}