Lint
authorRaphaël Jakse <raphael.trivabble@jakse.fr>
Sun, 3 Aug 2025 12:09:25 +0000 (14:09 +0200)
committerRaphaël Jakse <raphael.trivabble@jakse.fr>
Sun, 3 Aug 2025 12:16:13 +0000 (14:16 +0200)
public/index.html
public/trivabble.js

index 921aae18e2d4c56d8385e83da2ac8db364d8ac9a..47e04223b3d6fb30c776d050b60b1e33d1aa6a17 100644 (file)
@@ -73,7 +73,7 @@
                 </div>
                 <div>
                     <p><label><input type="checkbox" id="enable-timer" /> <span data-l10n="text-content">Show the timer</span></label></p>
-                       </div>
+                </div>
                 <div>
                     <p><label><input type="checkbox" id="tiles-sound" /><span data-l10n="text-content">Sound of the tiles</span></label></p>
                     <p><label><input type="checkbox" id="msg-sound" /><span data-l10n="text-content">Sound of messages</span></label></p>
index bb305ad883dc038cc8b164ef45a10d24a900b365..d12f542c0e181a92490ee4f7be43cb093d258216 100644 (file)
                 console.error("Unsupported type");
             }
         } else {
-            console.error("Incoherent or missing type. See the SettingsTypes object.");
+            console.error("Inconsistent or missing type. See the SettingsTypes object.");
         }
     }
 
         myConfirm(
             format(_("Are you sure you want to change board to '{0}'? This will put all the tiles back in the bag and start another game."), _(lang)),
             function () {
-                sendCmds([{cmd: "changeBoard", lang: code, label: getSetting("BoardLabel"), factor: BoardList[getSetting("BoardLabel")].factor}]);
+                sendCmds([{
+                    cmd: "changeBoard",
+                    lang: code,
+                    label: getSetting("BoardLabel"),
+                    factor: BoardList[getSetting("BoardLabel")].factor
+                }]);
             },
             function () {
                 boardLangSelect.value = getSetting("BoardLang");