diff options
author | Scott González <scott.gonzalez@gmail.com> | 2013-10-04 10:10:30 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2013-10-04 10:10:30 -0400 |
commit | e14f75ed480e5b036bb47ab3398d1e0df28a128a (patch) | |
tree | b67c2419af7c96fe4783f5ee658ae2a69bd1eb88 /ui | |
parent | ed09ee5b75064c7e6aa221e834cd5843d7c16260 (diff) | |
download | jquery-ui-e14f75ed480e5b036bb47ab3398d1e0df28a128a.tar.gz jquery-ui-e14f75ed480e5b036bb47ab3398d1e0df28a128a.zip |
Tabs: Keep reference to existing tablist during refresh. Fixes #9584 - Tabs: Refresh issue when tabs are moved to bottom.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.tabs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 5f81cda10..4077c9ac5 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -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 ) { |