From fba14b7d849902dd687862f2d94d94caea1c9639 Mon Sep 17 00:00:00 2001 From: Miodec Date: Tue, 18 Jul 2023 19:23:36 +0200 Subject: [PATCH] removed todo --- frontend/src/ts/test/funbox/funbox.ts | 2 -- 1 file changed, 2 deletions(-) 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 );