make sure all keyboard shortcuts use utility methods to not break mobile frontend

This commit is contained in:
zadam
2019-08-12 22:41:53 +02:00
parent 493cd1a7e0
commit f30eec7737
10 changed files with 41 additions and 41 deletions

View File

@@ -129,7 +129,7 @@ function randomString(len) {
return text;
}
function bindShortcut(keyboardShortcut, handler) {
function bindGlobalShortcut(keyboardShortcut, handler) {
bindElShortcut($(document), keyboardShortcut, handler);
}
@@ -221,7 +221,7 @@ export default {
download,
toObject,
randomString,
bindShortcut,
bindGlobalShortcut,
bindElShortcut,
isMobile,
isDesktop,