Browse Source

Fix close/reopen with comment (#14436)

it previously only worked for the simple textarea, and not for the rich textarea
tags/v1.15.0-dev
Jimmy Praet GitHub 4 years ago
parent
commit
65dcb9faae
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      web_src/js/index.js

+ 1
- 1
web_src/js/index.js View File

@@ -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 {


Loading…
Cancel
Save