Fixed resizing in embed-iframe

pull/1/head
Pål Jørgensen 2014-03-21 13:49:38 +01:00
parent 36237099d6
commit 8b50061e01
1 changed files with 3 additions and 0 deletions

View File

@ -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,