removed todo

This commit is contained in:
Miodec 2023-07-18 19:23:36 +02:00
parent 19377e53d4
commit fba14b7d84

View file

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