mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-01 11:48:04 +08:00
fixed fix
This commit is contained in:
parent
1770b11d34
commit
6cd4723df1
1 changed files with 2 additions and 2 deletions
|
|
@ -332,8 +332,8 @@ function initWords() {
|
|||
wordsList.push(customText[i]);
|
||||
}
|
||||
} else if (config.mode == "quote") {
|
||||
randomQuote = quotes[Math.floor(Math.random() * quotes.length)].trim();
|
||||
let w = randomQuote.text.split(" ");
|
||||
randomQuote = quotes[Math.floor(Math.random() * quotes.length)];
|
||||
let w = randomQuote.text.trim().split(" ");
|
||||
for (let i = 0; i < w.length; i++) {
|
||||
wordsList.push(w[i]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue