mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	using dynamic import for dialogs and widgets to speed up initial load
This commit is contained in:
		| @@ -14,7 +14,7 @@ let codeEditor; | ||||
|  | ||||
| $dialog.on("shown.bs.modal", e => initEditor()); | ||||
|  | ||||
| async function showDialog() { | ||||
| export async function showDialog() { | ||||
|     utils.closeActiveDialog(); | ||||
|  | ||||
|     glob.activeDialog = $dialog; | ||||
| @@ -130,7 +130,3 @@ async function showTables() { | ||||
| utils.bindElShortcut($query, 'ctrl+return', execute); | ||||
|  | ||||
| $executeButton.click(execute); | ||||
|  | ||||
| export default { | ||||
|     showDialog | ||||
| }; | ||||
		Reference in New Issue
	
	Block a user