From: Laurent Mazet Date: Thu, 13 Aug 2020 07:06:55 +0000 (+0200) Subject: fix center cell X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=9633392b4cbfb9707afc185cbdc5338670cd0b5d;p=trivabble.git fix center cell --- diff --git a/public/trivabble.js b/public/trivabble.js index 3ebfd36..b41f3e5 100644 --- a/public/trivabble.js +++ b/public/trivabble.js @@ -1446,6 +1446,8 @@ 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)) {