From 1f63d523a17295c86bba9ba695d16943ae488685 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Tue, 10 Sep 2013 11:25:45 +0200 Subject: [PATCH] OPPG-566: Fixed questionset compability bug. --- js/questionset.js | 1 + library.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/questionset.js b/js/questionset.js index 0c8ea6e..40c1090 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -302,6 +302,7 @@ H5P.QuestionSet = function (options, contentId) { var question = questionInstances[i]; question.attach($('.question-container:eq(' + i + ')', $myDom)); + question.$solutionButton.hide(); $(question).on('h5pQuestionAnswered', function () { $('.progress-dot:eq(' + currentQuestion +')', $myDom).removeClass('unanswered').addClass('answered'); _updateButtons(); diff --git a/library.json b/library.json index 8b4394c..f70d1dc 100644 --- a/library.json +++ b/library.json @@ -3,7 +3,7 @@ "contentType": "question", "majorVersion": 1, "minorVersion": 0, - "patchVersion": 23, + "patchVersion": 24, "runnable": 1, "fullscreen": 1, "machineName": "H5P.QuestionSet",