From dad9bbe93757f7ce1b1cc9b0cab3bd6b88c5ac97 Mon Sep 17 00:00:00 2001 From: Paal Joergensen Date: Wed, 5 Jan 2022 11:44:50 +0100 Subject: [PATCH] Fix using public resetTask internally --- js/questionset.js | 2 +- library.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/questionset.js b/js/questionset.js index 30d92fe..517874e 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -766,7 +766,7 @@ H5P.QuestionSet = function (options, contentId, contentData) { _showQuestion(params.initialQuestion); }); hookUpButton('.qs-retrybutton', function () { - resetTask(); + self.resetTask(); $myDom.children().hide(); var $intro = $('.intro-page', $myDom); diff --git a/library.json b/library.json index 69a996f..efcf90a 100644 --- a/library.json +++ b/library.json @@ -4,7 +4,7 @@ "contentType": "question", "majorVersion": 1, "minorVersion": 17, - "patchVersion": 6, + "patchVersion": 7, "embedTypes": [ "iframe" ],