From 856f0e8412c3b25e3100d18e78ad724816f1a7ba Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Wed, 19 Mar 2014 09:26:33 +0100 Subject: [PATCH] HFJ-179: Fixed usage of api-1.1 --- js/questionset.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/questionset.js b/js/questionset.js index 200fc51..764ba43 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -155,8 +155,8 @@ H5P.QuestionSet = function (options, contentId) { // Trigger resize on question in case the size of the QS has changed. var instance = questionInstances[questionNumber]; - if (instance.$ !== undefined) { - instance.$.trigger('h5pResize'); + if (instance.resize !== undefined) { + instance.resize(); } // Update progress indicator