From 11f7a2ba3356708a116b36020afcc814f60af858 Mon Sep 17 00:00:00 2001 From: Paal Joergensen Date: Mon, 9 May 2016 09:32:56 +0200 Subject: [PATCH] Not invoking getAnswerGiven() initially [HFJ-1876] --- js/questionset.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/questionset.js b/js/questionset.js index 945d2d5..0c1fdc1 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -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();