diff --git a/js/h5p-action-bar.js b/js/h5p-action-bar.js index 8e34eb7..261082d 100644 --- a/js/h5p-action-bar.js +++ b/js/h5p-action-bar.js @@ -19,6 +19,9 @@ H5P.ActionBar = (function ($, EventDispatcher) { * @param {string} customClass Instead of type class */ var addActionButton = function (type, customClass) { + /** + * Handles selection of action + */ var handler = function () { self.trigger(type); }; @@ -78,8 +81,8 @@ H5P.ActionBar = (function ($, EventDispatcher) { */ self.hasActions = function () { return hasActions; - } - }; + }; + } ActionBar.prototype = Object.create(EventDispatcher.prototype); ActionBar.prototype.constructor = ActionBar;