Tabs: Don't blur anchors on activation.

This commit is contained in:
Scott González 2012-05-22 15:13:45 -04:00
parent bbb44f9e67
commit ad1b647973

View File

@ -317,7 +317,6 @@ $.widget( "ui.tabs", {
( clickedIsActive && !options.collapsible ) || ( clickedIsActive && !options.collapsible ) ||
// allow canceling activation // allow canceling activation
( this._trigger( "beforeActivate", event, eventData ) === false ) ) { ( this._trigger( "beforeActivate", event, eventData ) === false ) ) {
anchor[ 0 ].blur();
return; return;
} }
@ -335,7 +334,6 @@ $.widget( "ui.tabs", {
if ( toShow.length ) { if ( toShow.length ) {
// TODO make passing in node possible // TODO make passing in node possible
this.load( this.lis.index( tab ), event ); this.load( this.lis.index( tab ), event );
anchor[ 0 ].blur();
} }
this._toggle( event, eventData ); this._toggle( event, eventData );
}, },