mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 11:02:28 +08:00
fix(note_type_choosers): fix glob.activeDialog assignment
the same thing is done in `confirm.ts` as well, where glob.activeDialog is set to `this.$widget`
This commit is contained in:
parent
ad8adeda0a
commit
17860e6715
@ -139,7 +139,7 @@ export default class NoteTypeChooserDialog extends BasicWidget {
|
|||||||
this.dropdown.show();
|
this.dropdown.show();
|
||||||
|
|
||||||
this.$originalDialog = glob.activeDialog;
|
this.$originalDialog = glob.activeDialog;
|
||||||
glob.activeDialog = this.modal;
|
glob.activeDialog = this.$widget;
|
||||||
this.modal.show();
|
this.modal.show();
|
||||||
|
|
||||||
this.$noteTypeDropdown.find(".dropdown-item:first").focus();
|
this.$noteTypeDropdown.find(".dropdown-item:first").focus();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user