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