diff --git a/cmd/server/internal/public/index.html b/cmd/server/internal/public/index.html index 63696eb..4a61c4c 100644 --- a/cmd/server/internal/public/index.html +++ b/cmd/server/internal/public/index.html @@ -21,7 +21,7 @@

- +
@@ -49,9 +49,15 @@ if (g_live_question) { let options = ""; for (let i of g_live_question.Options) - options += `
  • ${i}
  • `; - document.getElementById("question-text").innerHTML = g_live_question.Text; - document.getElementById("question-options").innerHTML = options; + options += `
    + + +
    ` + options = `
    ${options}
    `; + if (document.getElementById("question-text").innerHTML != g_live_question.Text) { + document.getElementById("question-text").innerHTML = g_live_question.Text; + document.getElementById("question-options").innerHTML = options; + } } else { document.getElementById("question-text").innerHTML = ""; document.getElementById("question-options").innerHTML = "";