mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Introduce eslint-plugin-no-jquery/no-event-shorthand (#24198)
https://github.com/go-gitea/gitea/pull/24098#issuecomment-1514010690 --------- Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
		| @@ -153,7 +153,7 @@ export function initRepoProject() { | ||||
|   }); | ||||
|  | ||||
|   $('.delete-project-board').each(function () { | ||||
|     $(this).click(function (e) { | ||||
|     $(this).on('click', function (e) { | ||||
|       e.preventDefault(); | ||||
|  | ||||
|       $.ajax({ | ||||
| @@ -169,7 +169,7 @@ export function initRepoProject() { | ||||
|     }); | ||||
|   }); | ||||
|  | ||||
|   $('#new_board_submit').click(function (e) { | ||||
|   $('#new_board_submit').on('click', function (e) { | ||||
|     e.preventDefault(); | ||||
|  | ||||
|     const boardTitle = $('#new_board'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 yp05327
					yp05327