Fix making resetTask a public function

This is done so that e.g. Interactive Book (Column) can reset
the task.
release
Paal Joergensen 2022-01-05 11:41:50 +01:00
parent b1d8e19468
commit 3ab3eea1c8
1 changed files with 1 additions and 1 deletions

View File

@ -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 = [];