From a2de768e03491b032cb16e1a8588e5b87e4a61e1 Mon Sep 17 00:00:00 2001 From: Milka Kuzminski Date: Wed, 25 Nov 2020 22:20:48 +0100 Subject: [PATCH] comments: fixed reply-to from email links. --- rhodecode/public/js/src/rhodecode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhodecode/public/js/src/rhodecode.js b/rhodecode/public/js/src/rhodecode.js index f6686e8f..ad020346 100644 --- a/rhodecode/public/js/src/rhodecode.js +++ b/rhodecode/public/js/src/rhodecode.js @@ -618,7 +618,7 @@ $(document).ready(function() { offsetScroll($line, 70); } if (!$line.hasClass('comment-outdated') && result.remainder === '/ReplyToComment') { - $line.nextAll('.cb-comment-add-button').trigger('click'); + $line.parent().find('.cb-comment-add-button').trigger('click'); } }