converted tree_keybindings.js into proper commands

This commit is contained in:
zadam
2020-02-16 22:14:28 +01:00
parent 8ca9ad3497
commit 4330dc47a0
8 changed files with 179 additions and 221 deletions

View File

@@ -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);