Not invoking getAnswerGiven() initially [HFJ-1876]

pull/5/head
Paal Joergensen 2016-05-09 09:32:56 +02:00
parent 1177ac68b7
commit 11f7a2ba33
1 changed files with 0 additions and 4 deletions

View File

@ -507,9 +507,6 @@ H5P.QuestionSet = function (options, contentId) {
}
event.data.statement.context.extensions['http://id.tincanapi.com/extension/ending-point'] = currentQuestion + 1;
});
if (question.getAnswerGiven()) {
$('.progress-dot:eq(' + i +')', $myDom).removeClass('unanswered').addClass('answered');
}
}
// Allow other libraries to add transitions after the questions have been inited
@ -530,7 +527,6 @@ H5P.QuestionSet = function (options, contentId) {
// Hide all but initial Question.
_showQuestion(params.initialQuestion);
_updateButtons();
if (renderSolutions) {
showSolutions();