Fix using public resetTask internally

release 1.17.7
Paal Joergensen 2022-01-05 11:44:50 +01:00
parent 3ab3eea1c8
commit dad9bbe937
2 changed files with 2 additions and 2 deletions

View File

@ -766,7 +766,7 @@ H5P.QuestionSet = function (options, contentId, contentData) {
_showQuestion(params.initialQuestion); _showQuestion(params.initialQuestion);
}); });
hookUpButton('.qs-retrybutton', function () { hookUpButton('.qs-retrybutton', function () {
resetTask(); self.resetTask();
$myDom.children().hide(); $myDom.children().hide();
var $intro = $('.intro-page', $myDom); var $intro = $('.intro-page', $myDom);

View File

@ -4,7 +4,7 @@
"contentType": "question", "contentType": "question",
"majorVersion": 1, "majorVersion": 1,
"minorVersion": 17, "minorVersion": 17,
"patchVersion": 6, "patchVersion": 7,
"embedTypes": [ "embedTypes": [
"iframe" "iframe"
], ],