mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 05:17:51 +08:00
fixed lazy mode not working when adding words
This commit is contained in:
parent
ac1601bfdd
commit
d2a0d57b63
1 changed files with 4 additions and 0 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Reference in a new issue