File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ $.widget( "ui.tabs", {
354
354
355
355
if ( toShow . length ) {
356
356
357
- // TODO make passing in node possible, see also http://dev.jqueryui.com/ticket/3171
357
+ // TODO make passing in node possible
358
358
that . load ( that . anchors . index ( clicked ) , event ) ;
359
359
360
360
clicked [ 0 ] . blur ( ) ;
@@ -449,12 +449,10 @@ $.widget( "ui.tabs", {
449
449
450
450
this . list . removeClass ( "ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" ) ;
451
451
452
- this . anchors . each ( function ( ) {
453
- var $this = $ ( this ) . unbind ( ".tabs" ) ;
454
- $ . each ( [ "href" , "load" ] , function ( i , prefix ) {
455
- $this . removeData ( prefix + ".tabs" ) ;
456
- } ) ;
457
- } ) ;
452
+ this . anchors
453
+ . unbind ( ".tabs" )
454
+ . removeData ( "href.tabs" )
455
+ . removeData ( "load.tabs" ) ;
458
456
459
457
this . lis . unbind ( ".tabs" ) . add ( this . panels ) . each ( function ( ) {
460
458
if ( $ . data ( this , "destroy.tabs" ) ) {
You can’t perform that action at this time.
0 commit comments