From cd08c0011e9f2dfe425c85ffe943379df109deae Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 26 Oct 2020 20:38:23 +0000 Subject: [PATCH] formatting --- public/js/script.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/public/js/script.js b/public/js/script.js index b98f1d892..d424eb22c 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -304,7 +304,10 @@ function activateFunbox(funbox, mode) { } if (currentLanguage.ligatures) { if (funbox == "choo_choo" || funbox == "earthquake") { - showNotification("Current language does not support this funbox mode", 3000); + showNotification( + "Current language does not support this funbox mode", + 3000 + ); activateFunbox("none", null); return; } @@ -316,7 +319,7 @@ function activateFunbox(funbox, mode) { memoryFunboxTimer = null; $("#wordsWrapper").removeClass("hidden"); } - + if (mode === "style") { if (funbox != undefined) { $("#funBoxTheme").attr("href", `funbox/${funbox}.css`); @@ -573,9 +576,9 @@ async function initWords() { arrangeCharactersRightToLeft(); } if (language.ligatures) { - $("#words").addClass('withLigatures'); + $("#words").addClass("withLigatures"); } else { - $("#words").removeClass('withLigatures'); + $("#words").removeClass("withLigatures"); } showWords(); }