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