mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-29 01:59:48 +08:00
fixed gibberish not adding gibberish. fixed #269
This commit is contained in:
parent
d27207a256
commit
a6ddadfc69
1 changed files with 2 additions and 3 deletions
|
@ -570,10 +570,9 @@ function addWord() {
|
|||
randomWord = punctuateWord(previousWord, randomWord, wordsList.length, 0);
|
||||
}
|
||||
if (activeFunBox === "gibberish") {
|
||||
wordsList.push(getGibberish());
|
||||
} else {
|
||||
wordsList.push(randomWord);
|
||||
randomWord = getGibberish();
|
||||
}
|
||||
wordsList.push(randomWord);
|
||||
|
||||
let w = "<div class='word'>";
|
||||
for (let c = 0; c < randomWord.length; c++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue