diff --git a/assets/scripts.js b/assets/scripts.js index 7a0cffb..920a569 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -181,7 +181,8 @@ function addChoices(r) { index++; } - document.getElementById("choiceCaption").innerHTML = choicePoints[r.id].description; + if (r.id in choicePoints) + document.getElementById("choiceCaption").innerHTML = choicePoints[r.id].description; } function momentStart(m) {