mirror of
https://github.com/zadam/trilium.git
synced 2025-10-08 22:49:12 +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
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ export default class NoteTypeChooserDialog extends BasicWidget {
|
|||
this.dropdown.show();
|
||||
|
||||
this.$originalDialog = glob.activeDialog;
|
||||
glob.activeDialog = this.modal;
|
||||
glob.activeDialog = this.$widget;
|
||||
this.modal.show();
|
||||
|
||||
this.$noteTypeDropdown.find(".dropdown-item:first").focus();
|
||||
|
|
Loading…
Add table
Reference in a new issue