mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	using dynamic import for dialogs and widgets to speed up initial load
This commit is contained in:
		| @@ -11,7 +11,7 @@ const $form = $("#prompt-dialog-form"); | ||||
| let resolve; | ||||
| let shownCb; | ||||
|  | ||||
| function ask({ message, defaultValue, shown }) { | ||||
| export function ask({ message, defaultValue, shown }) { | ||||
|     utils.closeActiveDialog(); | ||||
|  | ||||
|     glob.activeDialog = $dialog; | ||||
| @@ -58,7 +58,3 @@ $form.submit(() => { | ||||
|  | ||||
|     $dialog.modal('hide'); | ||||
| }); | ||||
|  | ||||
| export default { | ||||
|     ask | ||||
| } | ||||
		Reference in New Issue
	
	Block a user