From 0ea3ff896f4c7f84c288a77e7c46f5ad0f0744fe Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 1 Jun 2020 19:16:03 +0100 Subject: [PATCH] increased the initial words generated in timed mode to fill the screen after increasing the page width --- 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 d07b44295..7ed47a03b 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -123,7 +123,7 @@ function initWords() { if (config.mode == "time" || config.mode == "words") { - let wordsBound = config.mode == "time" ? 50 : config.words; + let wordsBound = config.mode == "time" ? 60 : config.words; for (let i = 0; i < wordsBound; i++) { randomWord = language[Math.floor(Math.random() * language.length)]; previousWord = wordsList[i - 1];