mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 18:39:22 +08:00
Fix: Automatically close modal when dropdown is dismissed
This commit is contained in:
parent
45cc8aa99b
commit
04343fbc2e
@ -110,6 +110,8 @@ export default class NoteTypeChooserDialog extends BasicWidget {
|
||||
//@ts-ignore
|
||||
if (e.clickEvent) {
|
||||
e.preventDefault();
|
||||
} else {
|
||||
this.modal.hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user