keybinding finish question mark?? cleanup

This commit is contained in:
Gerome Matilla 2020-06-04 15:19:27 +08:00
parent 76e2221c89
commit 1fdb3b7ffe

View File

@ -1,7 +1,5 @@
let keysPressed = {};
document.addEventListener(
'keydown',
(event) => {
@ -44,7 +42,6 @@ document.addEventListener(
// and weather screen is open
if (webMenuVisibility || weatherScreenVisibility ||
rightDashboardVisibility) return;
// Dont accept ctrl, alt,
// left window key, f5, f12, return
@ -67,8 +64,6 @@ document.addEventListener(
if ((event.key === 'Backspace' || event.key === 'Enter') &&
searchBox.value < 1) { toggleSearchBox(); return; };
}
}
);