From e309d876b82410f63ba54d6abc7fc1908b047767 Mon Sep 17 00:00:00 2001 From: Ludeeus Date: Sat, 14 May 2022 07:26:55 +0000 Subject: [PATCH] ups --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index fdd1b0a0..d55a0998 100644 --- a/src/main.ts +++ b/src/main.ts @@ -106,7 +106,7 @@ class HacsFrontend extends HacsElement { ); document.body.addEventListener("keydown", (ev: KeyboardEvent) => { - if (ev.key || ev.ctrlKey || ev.shiftKey || ev.metaKey) { + if (ev.ctrlKey || ev.shiftKey || ev.metaKey || ev.altKey) { // Ignore if modifier keys are pressed return; }