diff options
Diffstat (limited to 'static/index.js')
-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 |