mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
close currently active dialog if a different one is activated
This commit is contained in:
@@ -15,6 +15,8 @@ async function showCurrentNoteRevisions() {
|
||||
}
|
||||
|
||||
async function showNoteRevisionsDialog(noteId, noteRevisionId) {
|
||||
utils.closeActiveDialog();
|
||||
|
||||
glob.activeDialog = $dialog;
|
||||
|
||||
$dialog.modal();
|
||||
|
||||
Reference in New Issue
Block a user