diff --git a/frontend/src/ts/test/funbox/funbox.ts b/frontend/src/ts/test/funbox/funbox.ts index 1fe00cb86..76dcd8917 100644 --- a/frontend/src/ts/test/funbox/funbox.ts +++ b/frontend/src/ts/test/funbox/funbox.ts @@ -214,8 +214,6 @@ FunboxList.setFunboxFunctions("arrows", { async preventDefaultEvent( event: JQuery.KeyDownEvent ): Promise { - // TODO What's better? - // return /Arrow/i.test(event.key); return ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown"].includes( event.key );