Fixed resizing in embed-iframe
parent
36237099d6
commit
8b50061e01
|
@ -335,6 +335,8 @@ H5P.QuestionSet = function (options, contentId) {
|
||||||
if (renderSolutions) {
|
if (renderSolutions) {
|
||||||
showSolutions();
|
showSolutions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.$.trigger('resize');
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -358,6 +360,7 @@ H5P.QuestionSet = function (options, contentId) {
|
||||||
|
|
||||||
// Masquerade the main object to hide inner properties and functions.
|
// Masquerade the main object to hide inner properties and functions.
|
||||||
var returnObject = {
|
var returnObject = {
|
||||||
|
$: $(this),
|
||||||
attach: attach, // Attach to DOM object
|
attach: attach, // Attach to DOM object
|
||||||
getQuestions: function () {return questionInstances;},
|
getQuestions: function () {return questionInstances;},
|
||||||
getScore: getScore,
|
getScore: getScore,
|
||||||
|
|
Loading…
Reference in New Issue