removed replace

This commit is contained in:
Jack 2020-07-06 10:14:18 +01:00
parent 8ba908b176
commit c5365be41e

View file

@ -303,7 +303,7 @@ function initWords() {
}
} else if (config.mode == "quote") {
randomQuote = quotes[Math.floor(Math.random() * quotes.length)];
let w = randomQuote.text.split(" ").replace(" ", " ");
let w = randomQuote.text.split(" ");
for (let i = 0; i < w.length; i++) {
wordsList.push(w[i]);
}