From 438a43898f1b425a16b11a1953ea23dfbf84b6b1 Mon Sep 17 00:00:00 2001 From: Illya Konovalov Date: Wed, 23 Feb 2022 00:26:19 +0200 Subject: [PATCH] fixed reply cancellation button --- fluent_comments/static/fluent_comments/js/ajaxcomments.js | 1 + 1 file changed, 1 insertion(+) diff --git a/fluent_comments/static/fluent_comments/js/ajaxcomments.js b/fluent_comments/static/fluent_comments/js/ajaxcomments.js index 1e31cf8..5d7be61 100644 --- a/fluent_comments/static/fluent_comments/js/ajaxcomments.js +++ b/fluent_comments/static/fluent_comments/js/ajaxcomments.js @@ -170,6 +170,7 @@ removeThreadedPreview(); $('.js-comments-form:first').appendTo($comment); $($comment.find('#id_parent')[0]).val(comment_id); + $('.comment-cancel-reply-link').attr('href', '#c' + comment_id); }