mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
close currently active dialog if a different one is activated
This commit is contained in:
@@ -6,6 +6,8 @@ const $dialog = $("#event-log-dialog");
|
||||
const $list = $("#event-log-list");
|
||||
|
||||
async function showDialog() {
|
||||
utils.closeActiveDialog();
|
||||
|
||||
glob.activeDialog = $dialog;
|
||||
|
||||
$dialog.modal();
|
||||
|
||||
Reference in New Issue
Block a user