mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Fix issue due date edit toggle bug (#23723)
Use `toggleElem` instead of jQuery's `fadeToggle`, which can't be caught by eslint jquery plugin. Hopefully this could be the last bug for the jQuery show/hide refactoring.
This commit is contained in:
		| @@ -78,7 +78,7 @@ function updateDeadline(deadlineString) { | ||||
|  | ||||
| export function initRepoIssueDue() { | ||||
|   $(document).on('click', '.issue-due-edit', () => { | ||||
|     $('#deadlineForm').fadeToggle(150); | ||||
|     toggleElem('#deadlineForm'); | ||||
|   }); | ||||
|   $(document).on('click', '.issue-due-remove', () => { | ||||
|     updateDeadline(''); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 wxiaoguang
					wxiaoguang