removed last global keyboard handlers

This commit is contained in:
zadam
2020-01-22 20:48:56 +01:00
parent 370c63986d
commit 11a61325f9
9 changed files with 69 additions and 78 deletions

View File

@@ -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,