Skip to content

Commit

Permalink
ups
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed May 14, 2022
1 parent a1cd91c commit e309d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e309d87

Please sign in to comment.