mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
Fix: Automatically close modal when dropdown is dismissed
This commit is contained in:
@@ -110,6 +110,8 @@ export default class NoteTypeChooserDialog extends BasicWidget {
|
|||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
if (e.clickEvent) {
|
if (e.clickEvent) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
} else {
|
||||||
|
this.modal.hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user