From b3c18b56ed5bf6adf509076bd6ef0e6a55b49e8b Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Tue, 20 Feb 2024 14:57:20 -0700 Subject: [PATCH] ok transitions stuff okay --- cmd/server/internal/public/index.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cmd/server/internal/public/index.html b/cmd/server/internal/public/index.html index bcae208..63696eb 100644 --- a/cmd/server/internal/public/index.html +++ b/cmd/server/internal/public/index.html @@ -4,6 +4,9 @@ -

Hello World

@@ -45,11 +47,14 @@ g_live_question = live_questions[0]; } if (g_live_question) { - document.getElementById("question-text").innerHTML = g_live_question.Text; 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; + } else { + document.getElementById("question-text").innerHTML = ""; + document.getElementById("question-options").innerHTML = ""; } }