Merge pull request #2019 from TriliumNext/sirius_patch

Fix: Automatically close modal when dropdown is dismissed
This commit is contained in:
Elian Doran 2025-05-25 21:04:22 +03:00 committed by GitHub
commit b6f6968c49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,6 +110,8 @@ export default class NoteTypeChooserDialog extends BasicWidget {
//@ts-ignore
if (e.clickEvent) {
e.preventDefault();
} else {
this.modal.hide();
}
});
}