mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	removed all onclick handlers from index template
This commit is contained in:
		| @@ -1,6 +1,7 @@ | ||||
| "use strict"; | ||||
|  | ||||
| const jumpToNote = (function() { | ||||
|     const $showDialogButton = $("#jump-to-note-button"); | ||||
|     const $dialog = $("#jump-to-note-dialog"); | ||||
|     const $autoComplete = $("#jump-to-note-autocomplete"); | ||||
|     const $form = $("#jump-to-note-form"); | ||||
| @@ -50,6 +51,8 @@ const jumpToNote = (function() { | ||||
|         return false; | ||||
|     }); | ||||
|  | ||||
|     $showDialogButton.click(showDialog); | ||||
|  | ||||
|     return { | ||||
|         showDialog | ||||
|     }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user