Skip to content

Commit

Permalink
Tabs: Fix ui-button-active state on initially opened tab
Browse files Browse the repository at this point in the history
  • Loading branch information
apsdehal authored and arschmitz committed Jul 4, 2016
1 parent 956b68a commit fbabb13
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions js/widgets/tabs.ajax.js
Expand Up @@ -31,6 +31,12 @@
} )( function( $ ) {

return $.widget( "ui.tabs", $.ui.tabs, {

_create: function() {
this._super();

this.active.find( "a.ui-tabs-anchor" ).addClass( "ui-button-active" );
},
_isLocal: function( anchor ) {
var path, baseUrl, absUrl;

Expand Down

0 comments on commit fbabb13

Please sign in to comment.