From c5365be41e236fbb2120e52d23746adaeac841e3 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 6 Jul 2020 10:14:18 +0100 Subject: [PATCH] removed replace --- public/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/script.js b/public/js/script.js index 9e53a8a83..ce5055846 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -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]); }