From 5462e4abad0e0de183fd2a380c3e4ce8956d9887 Mon Sep 17 00:00:00 2001 From: Jimmy Praet Date: Fri, 22 Jan 2021 20:52:42 +0100 Subject: [PATCH] Fix close/reopen with comment it previously only worked for the simple textarea, and not for the rich textarea --- web_src/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/js/index.js b/web_src/js/index.js index 9aa63a83ed5be..16bb412f0962b 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -1145,7 +1145,7 @@ async function initRepository() { // Change status const $statusButton = $('#status-button'); - $('#comment-form .edit_area').on('keyup', function () { + $('#comment-form textarea').on('keyup', function () { if ($(this).val().length === 0) { $statusButton.text($statusButton.data('status')); } else {