update updating options

This commit is contained in:
Bel LaPointe
2024-02-21 12:23:58 -07:00
parent 44a80255bb
commit 4663960d9d
2 changed files with 5 additions and 2 deletions

View File

@@ -53,8 +53,11 @@
<label for="${i}">${i}</label>
</div>`
if (document.getElementById("question-text").value != g_live_question.Text) {
document.getElementById("question-text").innerHTML = `<h1>${g_live_question.Text}</h1>`;
document.getElementById("question-text").value = g_live_question.Text;
document.getElementById("question-text").innerHTML = `<h1>${g_live_question.Text}</h1>`;
}
if (document.getElementById("question-options").value != options) {
document.getElementById("question-options").value = options;
document.getElementById("question-options").innerHTML = options;
}
} else {