diff --git a/js/questionset.js b/js/questionset.js index 912b8b3..63a18fb 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -8,11 +8,12 @@ var H5P = H5P || {}; * * @param {Array} options * @param {int} contentId + * @param {Object} contentData * @returns {H5P.QuestionSet} Instance */ -H5P.QuestionSet = function (options, contentId) { +H5P.QuestionSet = function (options, contentId, contentData) { if (!(this instanceof H5P.QuestionSet)) { - return new H5P.QuestionSet(options, contentId); + return new H5P.QuestionSet(options, contentId, contentData); } H5P.EventDispatcher.call(this); var $ = H5P.jQuery; @@ -38,7 +39,7 @@ H5P.QuestionSet = function (options, contentId) { ' <% } %>' + '