summaryrefslogtreecommitdiff
path: root/static/index.js
diff options
context:
space:
mode:
authorJulien Dessaux2023-04-29 12:30:57 +0200
committerJulien Dessaux2023-04-29 12:33:24 +0200
commit79959c54960d03f8ca77998042456dfc7fdd6ed5 (patch)
tree298b90982d847b1e28b47e819b83a8665fa943b3 /static/index.js
parentFixed starting word could be one letter long (diff)
downloadjeux-de-mots-79959c54960d03f8ca77998042456dfc7fdd6ed5.tar.gz
jeux-de-mots-79959c54960d03f8ca77998042456dfc7fdd6ed5.tar.bz2
jeux-de-mots-79959c54960d03f8ca77998042456dfc7fdd6ed5.zip
Typo
Diffstat (limited to '')
-rw-r--r--static/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/index.js b/static/index.js
index eaf2a2a..2dc036b 100644
--- a/static/index.js
+++ b/static/index.js
@@ -22,7 +22,7 @@ let CW = function() {
let cursor = undefined;
let placed = []; // a sorted array of letters to place
- function makeBoardTileOnCLick(x, y) {
+ function makeBoardTileOnClick(x, y) {
return function() {
let me = document.getElementById(["s", y, "_", x].join(""));
if (me.innerHTML === "") {
@@ -377,7 +377,7 @@ let CW = function() {
letters[letter].count--;
total_remaining_letters--;
}
- elt.onclick = makeBoardTileOnCLick(x, y);
+ elt.onclick = makeBoardTileOnClick(x, y);
}
}
// populate the rack