diff --git a/js/questionset.js b/js/questionset.js index 9c2eac7..f47d002 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -344,6 +344,9 @@ H5P.QuestionSet = function (options, contentId) { return; } + // Ensure boolean + isAnswered = !!isAnswered; + var label = params.texts.jumpToQuestion .replace('%d', (dotIndex + 1).toString()) .replace('%total', $('.progress-dot', $myDom).length) +