aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main')
-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 b9becc16b..d620b643e 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();