From ba2bdfe79f76296fd5c9eebe8acb3ea2aa92f7ff Mon Sep 17 00:00:00 2001 From: KillyMXI Date: Wed, 5 Jul 2017 00:28:30 +0300 Subject: juick-www: fixed: scroll to new reply --- juick-www/src/main/static/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } -- cgit v1.2.3