diff options
author | Julien Dessaux | 2023-04-29 12:30:57 +0200 |
---|---|---|
committer | Julien Dessaux | 2023-04-29 12:33:24 +0200 |
commit | 79959c54960d03f8ca77998042456dfc7fdd6ed5 (patch) | |
tree | 298b90982d847b1e28b47e819b83a8665fa943b3 | |
parent | Fixed starting word could be one letter long (diff) | |
download | jeux-de-mots-79959c54960d03f8ca77998042456dfc7fdd6ed5.tar.gz jeux-de-mots-79959c54960d03f8ca77998042456dfc7fdd6ed5.tar.bz2 jeux-de-mots-79959c54960d03f8ca77998042456dfc7fdd6ed5.zip |
Typo
-rw-r--r-- | static/index.js | 4 |
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 |