diff --git a/js/layouts/tab-container/tab-container.js b/js/layouts/tab-container/tab-container.js index 81761e274..36e0019af 100644 --- a/js/layouts/tab-container/tab-container.js +++ b/js/layouts/tab-container/tab-container.js @@ -77,12 +77,15 @@ $(function() this._bindEvents(); }, - _addTabsWidget: function(aParams) - { - if(this.element.hasClass(this.css_classes.is_scrollable)){ - this.element.scrollabletabs(aParams); + /** + * @param oParams {Object} Structured object representing the options for the jQuery UI Tabs widget + * @private + */ + _addTabsWidget: function (oParams) { + if (this.element.hasClass(this.css_classes.is_scrollable)) { + this.element.scrollabletabs(oParams); } else { - this.element.tabs(aParams); + this.element.tabs(oParams); } }, // events bound via _bind are removed automatically