aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-28 02:09:53 +0300
committerGravatar Vitaly Takmazov2016-07-28 02:09:53 +0300
commit6d14175896a3532516b8b62cb782f06ffb676abd (patch)
tree3e0bde628a231e387db7534fdcfe5eb85b1101a3 /juick-www/src
parent136be4dfda616a9c0ee68eb3c31c138b65ef567f (diff)
www: fix replies tree queries
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 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();