mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +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
|
//@ts-ignore
|
||||||
if (e.clickEvent) {
|
if (e.clickEvent) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
} else {
|
||||||
|
this.modal.hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user