mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-01 01:05:06 +08:00
removed todo
This commit is contained in:
parent
19377e53d4
commit
fba14b7d84
1 changed files with 0 additions and 2 deletions
|
@ -214,8 +214,6 @@ FunboxList.setFunboxFunctions("arrows", {
|
|||
async preventDefaultEvent(
|
||||
event: JQuery.KeyDownEvent<Document, null, Document, Document>
|
||||
): Promise<boolean> {
|
||||
// TODO What's better?
|
||||
// return /Arrow/i.test(event.key);
|
||||
return ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown"].includes(
|
||||
event.key
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue