From ecfd2ec508b55badf00d1eab041d3c8f90198e3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20Eilevstj=C3=B8nn?= Date: Sun, 24 Jan 2021 13:37:35 +0100 Subject: [PATCH] Improved responsiveness --- game.js | 2 +- index.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/game.js b/game.js index 9c697ec..35a2e70 100644 --- a/game.js +++ b/game.js @@ -389,7 +389,7 @@ class Quiz { if (!this.IsMultipleChoice && this.Attempts > 1) { AttemptCounter = `
Attempts: ${this.Log[i].AttemptsUsed} out of ${this.Attempts}`; } - document.getElementById("SummaryPerRound").innerHTML += `
Round ${i + 1}

Time spent: ${FormatDateDifference(this.Log[i].EndTime, this.Log[i].StartTime)}
Your answer: ${FormatArray(this.Log[i].Answers)}
Correct answer: ${this.QuestionsToAsk[i].FormatName}${AttemptCounter}

`; + document.getElementById("SummaryPerRound").innerHTML += `
Round ${i + 1}

Time spent: ${FormatDateDifference(this.Log[i].EndTime, this.Log[i].StartTime)}
Your answer: ${FormatArray(this.Log[i].Answers)}
Correct answer: ${this.QuestionsToAsk[i].FormatName}${AttemptCounter}

`; } // Set href of sharer buttons diff --git a/index.html b/index.html index 43d10e5..39bc2cf 100644 --- a/index.html +++ b/index.html @@ -159,7 +159,7 @@
Difficulty