mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
return focus to the previously focused element after closing the dialog, fixes #861
This commit is contained in:
@@ -37,9 +37,7 @@ export async function importMarkdownInline() {
|
||||
convertMarkdownToHtml(text);
|
||||
}
|
||||
else {
|
||||
glob.activeDialog = $dialog;
|
||||
|
||||
$dialog.modal();
|
||||
utils.openDialog($dialog);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user