blocking arrows when not in arrows mode

This commit is contained in:
Miodec 2022-01-08 16:38:03 +01:00
parent 924d0c6a4f
commit 4f1e6b2285

View file

@ -719,6 +719,11 @@ $(document).keydown((event) => {
}
}
if (Config.funbox !== "arrows" && /Arrow/i.test(event.key)) {
event.preventDefault();
return;
}
Monkey.type();
if (event.key === "Backspace" && TestLogic.input.current.length === 0) {