diff options
author | Vitaly Takmazov | 2016-07-28 02:09:53 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-07-28 02:09:53 +0300 |
commit | 6d14175896a3532516b8b62cb782f06ffb676abd (patch) | |
tree | 3e0bde628a231e387db7534fdcfe5eb85b1101a3 /juick-www/src/main/static | |
parent | 136be4dfda616a9c0ee68eb3c31c138b65ef567f (diff) |
www: fix replies tree queries
Diffstat (limited to 'juick-www/src/main/static')
-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 b9becc16..d620b643 100644 --- a/juick-www/src/main/static/scripts.js +++ b/juick-www/src/main/static/scripts.js @@ -572,7 +572,7 @@ ready(function () { if (pageMID > 0) { var rid; document.querySelectorAll('.msg-comments').forEach(function(e) { - rid = e.parentNode.parentNode.id; + rid = e.closest('li').id; e.addEventListener('click', function (e) { showMoreReplies(e.target, rid); e.preventDefault(); |