mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 08:15:52 +01:00
converted tree_keybindings.js into proper commands
This commit is contained in:
@@ -159,7 +159,7 @@ export default class SearchBoxWidget extends BasicWidget {
|
||||
}
|
||||
}
|
||||
|
||||
searchNotesEvent() {
|
||||
searchNotesCommand() {
|
||||
this.toggleSearchEvent();
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@ export default class SearchBoxWidget extends BasicWidget {
|
||||
this.$searchInput.val("");
|
||||
}
|
||||
|
||||
searchInSubtreeEvent({noteId}) {
|
||||
searchInSubtreeCommand({noteId}) {
|
||||
noteId = noteId || appContext.tabManager.getActiveTabNoteId();
|
||||
|
||||
this.toggle(true);
|
||||
|
||||
Reference in New Issue
Block a user