diff --git a/js/multichoice.js b/js/multichoice.js index c23afd73..429a0ead 100644 --- a/js/multichoice.js +++ b/js/multichoice.js @@ -462,6 +462,7 @@ H5P.MultiChoice = function (options, contentId, contentData) { } }; + this.showAllSolutions = function () { if (solutionsVisible) { return; @@ -1115,6 +1116,10 @@ H5P.MultiChoice = function (options, contentId, contentData) { this.getTitle = function () { return H5P.createTitle((this.contentData && this.contentData.metadata && this.contentData.metadata.title) ? this.contentData.metadata.title : 'Multiple Choice'); }; + + this.registerDomElements(); + + }; H5P.MultiChoice.prototype = Object.create(H5P.Question.prototype);