Skip to content

Commit 271a011

Browse files
authored
Fix close/reopen with comment (#14436)
it previously only worked for the simple textarea, and not for the rich textarea
1 parent b672899 commit 271a011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ async function initRepository() {
11451145

11461146
// Change status
11471147
const $statusButton = $('#status-button');
1148-
$('#comment-form .edit_area').on('keyup', function () {
1148+
$('#comment-form textarea').on('keyup', function () {
11491149
if ($(this).val().length === 0) {
11501150
$statusButton.text($statusButton.data('status'));
11511151
} else {

0 commit comments

Comments
 (0)