From 3cab3010fa843c56be738cecd0e543d4644df781 Mon Sep 17 00:00:00 2001 From: Svein-Tore Griff With Date: Tue, 7 Apr 2015 19:16:44 +0200 Subject: [PATCH] Update call to newRunnable to use update api --- js/questionset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/questionset.js b/js/questionset.js index 13133fc..ae0442b 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -123,7 +123,7 @@ H5P.QuestionSet = function (options, contentId) { 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); questionInstance.on('resize', function() { self.trigger('resize');