diff --git a/files/assets/js/comments.js b/files/assets/js/comments.js index 359a64452..9a21454b2 100644 --- a/files/assets/js/comments.js +++ b/files/assets/js/comments.js @@ -8,7 +8,7 @@ function collapse_comment(comment_id) { const isClosed = comment.classList.contains("collapsed"); const top = comment.getBoundingClientRect().y; - const toggler = document.getElementById(`comment-collase-${comment_id}`); + const toggler = document.getElementById(`comment-collapse-${comment_id}`); ['hidden', 'pointer-events-none'].map(x=> toggler.classList.toggle(x)); diff --git a/files/templates/comments.html b/files/templates/comments.html index 5dcca215c..567dc0a39 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -37,7 +37,7 @@ {% endif %} - + {% include "expanded_image_modal.html" %}