From 5c954c91a01de355ee9bb463b4644ec55897c3ac Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 14 Aug 2020 23:16:40 +0100 Subject: [PATCH] not showing language when some funbox are active. fixed #291 --- public/js/script.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/js/script.js b/public/js/script.js index 52a1e972d..7cbdfa9f7 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -1834,7 +1834,11 @@ function showResult(difficultyFailed = false) { } else if (config.mode == "words") { testType += " " + config.words; } - if (config.mode != "custom") { + if ( + config.mode != "custom" && + activeFunBox !== "gibberish" && + activeFunBox !== "58008" + ) { testType += "
" + config.language.replace(/_/g, " "); } if (config.punctuation) {