Fix making resetTask a public function
This is done so that e.g. Interactive Book (Column) can reset the task.release
parent
b1d8e19468
commit
3ab3eea1c8
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in New Issue