diff --git a/js/questionset.js b/js/questionset.js index 388678c..5e33045 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -335,6 +335,8 @@ H5P.QuestionSet = function (options, contentId) { if (renderSolutions) { showSolutions(); } + + this.$.trigger('resize'); return this; }; @@ -358,6 +360,7 @@ H5P.QuestionSet = function (options, contentId) { // Masquerade the main object to hide inner properties and functions. var returnObject = { + $: $(this), attach: attach, // Attach to DOM object getQuestions: function () {return questionInstances;}, getScore: getScore,