fixed lazy mode not working when adding words

This commit is contained in:
Jack 2021-11-05 14:15:12 +00:00
parent ac1601bfdd
commit d2a0d57b63

View file

@ -1172,6 +1172,10 @@ export async function addWord() {
if (britishWord) randomWord = britishWord;
}
if (Config.lazyMode === true && !language.noLazyMode) {
randomWord = LazyMode.replaceAccents(randomWord, language.accents);
}
if (Config.funbox === "rAnDoMcAsE") {
let randomcaseword = "";
for (let i = 0; i < randomWord.length; i++) {