HFJ-188: Fixed libraries resize support.
parent
856f0e8412
commit
36237099d6
|
@ -155,8 +155,8 @@ H5P.QuestionSet = function (options, contentId) {
|
||||||
|
|
||||||
// Trigger resize on question in case the size of the QS has changed.
|
// Trigger resize on question in case the size of the QS has changed.
|
||||||
var instance = questionInstances[questionNumber];
|
var instance = questionInstances[questionNumber];
|
||||||
if (instance.resize !== undefined) {
|
if (instance.$ !== undefined) {
|
||||||
instance.resize();
|
instance.$.trigger('resize');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update progress indicator
|
// Update progress indicator
|
||||||
|
|
Loading…
Reference in New Issue