mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
separators and fixes
This commit is contained in:
@@ -259,7 +259,9 @@ function setActionHandler(actionName, handler) {
|
||||
action.handler = handler;
|
||||
|
||||
for (const shortcut of action.effectiveShortcuts) {
|
||||
utils.bindGlobalShortcut(shortcut, handler);
|
||||
if (shortcut) {
|
||||
utils.bindGlobalShortcut(shortcut, handler);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user