From d6da3639d605510cdb50fd5260e78982e5c4592f Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 3 Jul 2020 15:38:00 +0100 Subject: [PATCH] moved quoteid to mode2 --- public/js/script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/js/script.js b/public/js/script.js index d6ef6af4c..d4e990275 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -900,6 +900,8 @@ function showResult(difficultyFailed = false) { // $("#result .stats .time .bottom").text(roundedToFixed(stats.time,1)+'s'); } else if (config.mode === "custom") { mode2 = "custom"; + } else if (config.mode === "quote") { + mode2 = randomQuote.id; } let labels = []; @@ -988,7 +990,6 @@ function showResult(difficultyFailed = false) { blindMode: config.blindMode, theme: config.theme, tags: activeTags, - quoteId: config.mode == "quote" ? randomQuote.id : null, }; if ( config.difficulty == "normal" ||