Update call to newRunnable to use update api
parent
4aef67c14f
commit
3cab3010fa
|
@ -123,7 +123,7 @@ H5P.QuestionSet = function (options, contentId) {
|
||||||
enableSolutionsButton: params.override.overrideShowSolutionButton
|
enableSolutionsButton: params.override.overrideShowSolutionButton
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
var questionInstance = H5P.newRunnable(question, contentId, null, null, self);
|
var questionInstance = H5P.newRunnable(question, contentId, undefined, undefined, {parent: self});
|
||||||
questionInstances.push(questionInstance);
|
questionInstances.push(questionInstance);
|
||||||
questionInstance.on('resize', function() {
|
questionInstance.on('resize', function() {
|
||||||
self.trigger('resize');
|
self.trigger('resize');
|
||||||
|
|
Loading…
Reference in New Issue