mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-19 09:02:27 +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
|
//@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