fix: home and end keys not ignored during test, causing desync

closes #6053
This commit is contained in:
Miodec 2024-11-19 17:49:48 +01:00
parent aba935448f
commit a3e3de47f5
2 changed files with 3 additions and 0 deletions

View file

@ -5,4 +5,6 @@ export const IgnoredKeys = [
"AudioVolumeUp",
"AudioVolumeDown",
"AudioVolumeMute",
"Home",
"End",
];

View file

@ -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;
}