From 0083c4cf0acb81e976b892072cef672efdb47f7f Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 28 Jul 2016 01:53:16 +0300 Subject: www: final unfoldReply fix --- juick-www/src/main/static/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-www/src/main') diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js index 3ea35ed46..d7c3ffe9c 100644 --- a/juick-www/src/main/static/scripts.js +++ b/juick-www/src/main/static/scripts.js @@ -367,7 +367,7 @@ function unfoldReply() { if ((0 + anchor) > 0) { var el = document.getElementById(anchor); if (!el) { return } - while (el.style.display !== 'block') { + while (el.style.display === 'none') { el = el.previousElementSibling; } showMoreReplies(el); -- cgit v1.2.3