mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tabs: Don't blur anchors on activation.
This commit is contained in:
parent
bbb44f9e67
commit
ad1b647973
2
ui/jquery.ui.tabs.js
vendored
2
ui/jquery.ui.tabs.js
vendored
@ -317,7 +317,6 @@ $.widget( "ui.tabs", {
|
||||
( clickedIsActive && !options.collapsible ) ||
|
||||
// allow canceling activation
|
||||
( this._trigger( "beforeActivate", event, eventData ) === false ) ) {
|
||||
anchor[ 0 ].blur();
|
||||
return;
|
||||
}
|
||||
|
||||
@ -335,7 +334,6 @@ $.widget( "ui.tabs", {
|
||||
if ( toShow.length ) {
|
||||
// TODO make passing in node possible
|
||||
this.load( this.lis.index( tab ), event );
|
||||
anchor[ 0 ].blur();
|
||||
}
|
||||
this._toggle( event, eventData );
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user