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", {
354354
355355 if ( toShow . length ) {
356356
357- // TODO make passing in node possible, see also http://dev.jqueryui.com/ticket/3171
357+ // TODO make passing in node possible
358358 that . load ( that . anchors . index ( clicked ) , event ) ;
359359
360360 clicked [ 0 ] . blur ( ) ;
@@ -449,12 +449,10 @@ $.widget( "ui.tabs", {
449449
450450 this . list . removeClass ( "ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" ) ;
451451
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" ) ;
458456
459457 this . lis . unbind ( ".tabs" ) . add ( this . panels ) . each ( function ( ) {
460458 if ( $ . data ( this , "destroy.tabs" ) ) {
You can’t perform that action at this time.
0 commit comments