From a5a6dbf56cd024093d815ecabd235b03b39d3a6c Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Mon, 28 Jan 2019 16:58:45 -0500 Subject: [PATCH] Bug 1522731 - When you click "Update comment", the button changes size and the "Cancel" button jumps underneath your cursor, causing momentary panic that you canceled your edit --- extensions/EditComments/web/js/inline-editor.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/extensions/EditComments/web/js/inline-editor.js b/extensions/EditComments/web/js/inline-editor.js index 17618a605..24fe4296e 100644 --- a/extensions/EditComments/web/js/inline-editor.js +++ b/extensions/EditComments/web/js/inline-editor.js @@ -105,6 +105,7 @@ Bugzilla.InlineCommentEditor = class InlineCommentEditor { <${preview_tag} tabindex="-1" class="comment-text ${this.is_markdown ? 'markdown-body' : ''}">