not showing language when some funbox are active. fixed #291

This commit is contained in:
Jack 2020-08-14 23:16:40 +01:00
parent 95c56f207a
commit 5c954c91a0

View file

@ -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 += "<br>" + config.language.replace(/_/g, " ");
}
if (config.punctuation) {