HFJ-179: Fixed usage of api-1.1

pull/1/head
Frode Petterson 2014-03-19 09:26:33 +01:00
parent 128db363c8
commit 856f0e8412
1 changed files with 2 additions and 2 deletions

View File

@ -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.$ !== undefined) { if (instance.resize !== undefined) {
instance.$.trigger('h5pResize'); instance.resize();
} }
// Update progress indicator // Update progress indicator