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 {