diff options
author | KillyMXI | 2017-07-05 00:28:30 +0300 |
---|---|---|
committer | KillyMXI | 2017-07-05 00:28:30 +0300 |
commit | ba2bdfe79f76296fd5c9eebe8acb3ea2aa92f7ff (patch) | |
tree | c9a6b5f55fda394e599baa6a0d5a28fa13c04ea9 | |
parent | e3a224f6cc9e14c1cd2211ae29064d97a4febc1a (diff) |
juick-www: fixed: scroll to new reply
-rw-r--r-- | juick-www/src/main/static/scripts.js | 2 |
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(); } } |