Bugfix unanswered toggles answered state

HFJ-2040
pull/5/head
Frode Petterson 2016-07-04 13:05:38 +02:00
parent 0203402821
commit 587f488276
1 changed files with 3 additions and 0 deletions

View File

@ -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) +