mirror of
https://github.com/manilarome/the-glorious-startpage.git
synced 2025-01-05 21:09:07 +01:00
keybinding finish question mark?? cleanup
This commit is contained in:
parent
76e2221c89
commit
1fdb3b7ffe
@ -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; };
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user