diff options
author | Jimmy Praet <jimmy.praet@telenet.be> | 2021-01-23 03:08:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-23 03:08:19 +0100 |
commit | 271a011ba1b545c838eea450982c43dabcfecf71 (patch) | |
tree | 5354e19ae8b1f8064349fc9511c1e203545f4540 /web_src/js | |
parent | b672899372d968d9976b008f9bae60bad6882586 (diff) | |
download | gitea-271a011ba1b545c838eea450982c43dabcfecf71.tar.gz gitea-271a011ba1b545c838eea450982c43dabcfecf71.zip |
Fix close/reopen with comment (#14436)
it previously only worked for the simple textarea, and not for the rich textarea
Diffstat (limited to 'web_src/js')
-rw-r--r-- | web_src/js/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js index 9aa63a83ed..16bb412f09 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 { |