diff --git a/public/s/js/comments.js b/public/s/js/comments.js index d9aec8b..2f0174a 100644 --- a/public/s/js/comments.js +++ b/public/s/js/comments.js @@ -2302,7 +2302,7 @@ class CommentSystem { } // Cancel Reply - if (target.matches('.cancel-reply')) { + if (target.closest('.cancel-reply')) { const form = target.closest('.reply-input'); if (form) form.remove(); return;