Skip to content

Commit

Permalink
Tabs: Keep reference to existing tablist during refresh. Fixes #9584 …
Browse files Browse the repository at this point in the history
…- Tabs: Refresh issue when tabs are moved to bottom.

(cherry picked from commit e14f75e)
  • Loading branch information
scottgonzalez committed Nov 26, 2013
1 parent c78ac67 commit 8eefd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.tabs.js
Expand Up @@ -441,7 +441,7 @@ $.widget( "ui.tabs", {

// allow overriding how to find the list for rare usage scenarios (#7715)
_getList: function() {
return this.element.find( "ol,ul" ).eq( 0 );
return this.tablist || this.element.find( "ol,ul" ).eq( 0 );
},

_createPanel: function( id ) {
Expand Down

0 comments on commit 8eefd20

Please sign in to comment.