mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
fix events from keyboard shortcuts
This commit is contained in:
@@ -624,7 +624,11 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
|
||||
for (const action of actions) {
|
||||
for (const shortcut of action.effectiveShortcuts) {
|
||||
hotKeyMap[utils.normalizeShortcut(shortcut)] = node => this.triggerCommand(action.actionName, {node});
|
||||
hotKeyMap[utils.normalizeShortcut(shortcut)] = node => {
|
||||
this.triggerCommand(action.actionName, {node});
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user