This commit is contained in:
Molkobain
2021-02-08 22:41:45 +01:00
parent 99564d75b7
commit e11252a2d6

View File

@@ -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