mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-29 16:41:31 +08:00
Make note-detail-empty always display autocompletion.
This commit is contained in:
parent
dbca50d9b0
commit
cdd5a17fce
@ -67,6 +67,7 @@ export default class EmptyTypeWidget extends TypeWidget {
|
|||||||
|
|
||||||
this.$workspaceNotes = this.$widget.find('.workspace-notes');
|
this.$workspaceNotes = this.$widget.find('.workspace-notes');
|
||||||
|
|
||||||
|
noteAutocompleteService.showRecentNotes(this.$autoComplete);
|
||||||
super.doRender();
|
super.doRender();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -88,7 +89,5 @@ export default class EmptyTypeWidget extends TypeWidget {
|
|||||||
this.$autoComplete
|
this.$autoComplete
|
||||||
.trigger('focus')
|
.trigger('focus')
|
||||||
.trigger('select');
|
.trigger('select');
|
||||||
|
|
||||||
noteAutocompleteService.showRecentNotes(this.$autoComplete);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user