mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	return focus to the previously focused element after closing the dialog, fixes #861
This commit is contained in:
		| @@ -5,11 +5,7 @@ const $dialog = $("#note-source-dialog"); | ||||
| const $noteSource = $("#note-source"); | ||||
|  | ||||
| export function showDialog() { | ||||
|     utils.closeActiveDialog(); | ||||
|  | ||||
|     glob.activeDialog = $dialog; | ||||
|  | ||||
|     $dialog.modal(); | ||||
|     utils.openDialog($dialog); | ||||
|  | ||||
|     const noteText = noteDetailService.getActiveTabNote().content; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user