mirror of
https://github.com/zadam/trilium.git
synced 2025-02-24 15:05:31 +08:00
fix collapse tree keyboard shortcut
This commit is contained in:
parent
04063d8a9c
commit
20c14a1920
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ const noteTree = (function() {
|
|||
node.visit(node => node.setExpanded(false));
|
||||
}
|
||||
|
||||
$(document).bind('keydown', 'alt+c', collapseTree);
|
||||
$(document).bind('keydown', 'alt+c', () => collapseTree()); // don't use shortened form since collapseTree() accepts argument
|
||||
|
||||
function scrollToCurrentNote() {
|
||||
const node = getCurrentNode();
|
||||
|
|
Loading…
Reference in a new issue