]> source.dussan.org Git - jquery-ui.git/commitdiff
Tabs: Don't blur anchors on activation.
authorScott González <scott.gonzalez@gmail.com>
Tue, 22 May 2012 19:13:45 +0000 (15:13 -0400)
committerScott González <scott.gonzalez@gmail.com>
Tue, 22 May 2012 19:13:45 +0000 (15:13 -0400)
ui/jquery.ui.tabs.js

index 12b12ff5c1138c9f49b500bb4b91f49e1f2fcc89..d97a12101de4bc0fd2d02d84b32f397b892e0883 100644 (file)
@@ -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 );
        },