fixed fix

This commit is contained in:
Jack 2020-07-22 00:24:39 +01:00
parent 1770b11d34
commit 6cd4723df1

View file

@ -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]);
}