mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
Merge pull request #2019 from TriliumNext/sirius_patch
Fix: Automatically close modal when dropdown is dismissed
This commit is contained in:
commit
b6f6968c49
@ -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