Fixed resizing in embed-iframe
parent
36237099d6
commit
8b50061e01
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue