Skip to content

Commit

Permalink
Merge branch 'master' into feat/add_punjabi_language
Browse files Browse the repository at this point in the history
  • Loading branch information
SajanGhuman authored Nov 20, 2024
2 parents 7ccfc8b + a3e3de4 commit 55b4d18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/ts/constants/ignored-keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ export const IgnoredKeys = [
"AudioVolumeUp",
"AudioVolumeDown",
"AudioVolumeMute",
"Home",
"End",
];
1 change: 1 addition & 0 deletions frontend/src/ts/controllers/input-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,7 @@ $(document).on("keydown", async (event) => {
console.debug(
`Key ${event.key} is on the list of ignored keys. Stopping keydown event.`
);
event.preventDefault();
return;
}

Expand Down

0 comments on commit 55b4d18

Please sign in to comment.