mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
using dynamic import for dialogs and widgets to speed up initial load
This commit is contained in:
@@ -26,7 +26,7 @@ let jsPlumbInstance = null;
|
||||
let pzInstance = null;
|
||||
let renderer = null;
|
||||
|
||||
async function showDialog() {
|
||||
export async function showDialog() {
|
||||
utils.closeActiveDialog();
|
||||
|
||||
glob.activeDialog = $dialog;
|
||||
@@ -216,7 +216,3 @@ function noteIdToId(noteId) {
|
||||
$(".link-map-settings").change(loadNotesAndRelations);
|
||||
|
||||
$maxNotesInput.on("input", loadNotesAndRelations);
|
||||
|
||||
export default {
|
||||
showDialog
|
||||
};
|
||||
Reference in New Issue
Block a user