Update call to newRunnable to use update api

pull/1/head
Svein-Tore Griff With 2015-04-07 19:16:44 +02:00
parent 4aef67c14f
commit 3cab3010fa
1 changed files with 1 additions and 1 deletions

View File

@ -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');