diff --git a/js/questionset.js b/js/questionset.js index ce859a0..30d92fe 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -496,7 +496,7 @@ H5P.QuestionSet = function (options, contentId, contentData) { * Used for contracts with integrated content. * @public */ - var resetTask = function () { + this.resetTask = function () { // Clear previous state to ensure questions are created cleanly contentData.previousState = [];