mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Fix close/reopen with comment (#14436)
it previously only worked for the simple textarea, and not for the rich textarea
This commit is contained in:
		| @@ -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 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jimmy Praet
					Jimmy Praet