mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +01:00
removed last global keyboard handlers
This commit is contained in:
@@ -29,10 +29,6 @@ server.get('keyboard-shortcuts-for-notes').then(shortcutForNotes => {
|
||||
}
|
||||
});
|
||||
|
||||
function setGlobalActionHandler(actionName, handler) {
|
||||
console.log("Useless handler for " + actionName);
|
||||
}
|
||||
|
||||
function setElementActionHandler($el, actionName, handler) {
|
||||
keyboardActionsLoaded.then(() => {
|
||||
const action = keyboardActionRepo[actionName];
|
||||
@@ -103,7 +99,6 @@ function updateDisplayedShortcuts($container) {
|
||||
}
|
||||
|
||||
export default {
|
||||
setGlobalActionHandler,
|
||||
setElementActionHandler,
|
||||
triggerAction,
|
||||
getAction,
|
||||
|
||||
Reference in New Issue
Block a user