Soft'N'Design Software
/
projects
/
trivabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
726fae2
)
fix center cell
author
Laurent Mazet
<mazet@softndesign.org>
Thu, 13 Aug 2020 07:06:55 +0000
(09:06 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Thu, 13 Aug 2020 07:06:55 +0000
(09:06 +0200)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index 3ebfd3651b3b234d82684f5913aa4b7373676b40..b41f3e5a3fe87b39a9edaf7f31f05cd183d88781 100644
(file)
--- 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)) {