mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	using dynamic import for dialogs and widgets to speed up initial load
This commit is contained in:
		| @@ -2,14 +2,10 @@ import utils from "../services/utils.js"; | ||||
|  | ||||
| const $dialog = $("#help-dialog"); | ||||
|  | ||||
| async function showDialog() { | ||||
| export async function showDialog() { | ||||
|     utils.closeActiveDialog(); | ||||
|  | ||||
|     glob.activeDialog = $dialog; | ||||
|  | ||||
|     $dialog.modal(); | ||||
| } | ||||
|  | ||||
| export default { | ||||
|     showDialog | ||||
| } | ||||
		Reference in New Issue
	
	Block a user