From 1fdb3b7ffe886792baca82abf9309ffb0875ff30 Mon Sep 17 00:00:00 2001 From: Gerome Matilla Date: Thu, 4 Jun 2020 15:19:27 +0800 Subject: [PATCH] keybinding finish question mark?? cleanup --- js/keybindings.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/keybindings.js b/js/keybindings.js index b048c5a..130f045 100644 --- a/js/keybindings.js +++ b/js/keybindings.js @@ -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; }; } - - } );