mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	close currently active dialog if a different one is activated
This commit is contained in:
		| @@ -1,6 +1,10 @@ | ||||
| import utils from "../services/utils.js"; | ||||
|  | ||||
| const $dialog = $("#help-dialog"); | ||||
|  | ||||
| async function showDialog() { | ||||
|     utils.closeActiveDialog(); | ||||
|  | ||||
|     glob.activeDialog = $dialog; | ||||
|  | ||||
|     $dialog.modal(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user