Skip to content
Permalink
Browse files

Tabs: Fixed a broken commit for #3171.

  • Loading branch information...
BrazilianJoe authored and scottgonzalez committed Jul 16, 2010
1 parent 64d90b4 commit eaddfedd668c3397ed3c39d733d57d9c78466633
Showing with 1 addition and 5 deletions.
  1. +1 −5 ui/jquery.ui.tabs.js
@@ -579,13 +579,9 @@ $.widget("ui.tabs", {

select: function(index) {
index = this._getIndex(index);
else if (index === null) { // usage of null is deprecated, TODO remove in next release
index = -1;
}
if (index == -1 && this.options.collapsible) {
if (isNaN(index) && this.options.collapsible) {
index = this.options.selected;
}

this.anchors.eq(index).trigger(this.options.event + '.tabs');
return this;
},

0 comments on commit eaddfed

Please sign in to comment.
You can’t perform that action at this time.