diff --git a/js/questionset.js b/js/questionset.js index 764ba43..388678c 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.resize !== undefined) { - instance.resize(); + if (instance.$ !== undefined) { + instance.$.trigger('resize'); } // Update progress indicator