mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-29 08:38:17 +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');
|
||||
|
||||
noteAutocompleteService.showRecentNotes(this.$autoComplete);
|
||||
super.doRender();
|
||||
}
|
||||
|
||||
@ -88,7 +89,5 @@ export default class EmptyTypeWidget extends TypeWidget {
|
||||
this.$autoComplete
|
||||
.trigger('focus')
|
||||
.trigger('select');
|
||||
|
||||
noteAutocompleteService.showRecentNotes(this.$autoComplete);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user