From 79959c54960d03f8ca77998042456dfc7fdd6ed5 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sat, 29 Apr 2023 12:30:57 +0200 Subject: Typo --- static/index.js | 4 ++-- 1 file 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 -- cgit v1.2.3