fix center cell
authorLaurent Mazet <mazet@softndesign.org>
Thu, 13 Aug 2020 07:06:55 +0000 (09:06 +0200)
committerLaurent Mazet <mazet@softndesign.org>
Thu, 13 Aug 2020 07:06:55 +0000 (09:06 +0200)
public/trivabble.js

index 3ebfd3651b3b234d82684f5913aa4b7373676b40..b41f3e5a3fe87b39a9edaf7f31f05cd183d88781 100644 (file)
         const id = this.id;
         if (id === "") {
             return;
+        } else if (id === "center-cell") {
+            id = 112;
         }
         if (e.type === "touchstart") {
             if ((highlightTile.id !== id) || (Date.now() - highlightTile.date > localStorage.doubleTapDuration)) {