We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e2f95f commit 234ced0Copy full SHA for 234ced0
ui/jquery.ui.tabs.js
@@ -447,14 +447,8 @@ $.widget( "ui.tabs", {
447
});
448
},
449
450
- _findActive: function( selector ) {
451
- if ( typeof selector === "number" ) {
452
- return this.lis.eq( selector );
453
- }
454
- if ( typeof selector === "string" ) {
455
- return this.anchors.filter( "[href$='" + selector + "']" ).closest( "li" );
456
457
- return $();
+ _findActive: function( index ) {
+ return index === false ? $() : this.lis.eq( index );
458
459
460
_getIndex: function( index ) {
0 commit comments