diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-01-16 16:19:58 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-01-16 16:19:58 -0500 |
commit | 53dc2d305696c9a347d3bfd113d76e4e47ab8c60 (patch) | |
tree | 5eda01a9670e34e6a76e8cdccde6d9e7fedae4e5 | |
parent | 1dc4d64dd4f343031a6851494ae7839873462252 (diff) | |
download | jquery-ui-53dc2d305696c9a347d3bfd113d76e4e47ab8c60.tar.gz jquery-ui-53dc2d305696c9a347d3bfd113d76e4e47ab8c60.zip |
Tabs: Pass an element instead of jQuery object on initial show. Fixes #6867 - Inconsistent ui.panel contents for show event of tabs widget.
-rwxr-xr-x | 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 82da51d5b..8d5e9b207 100755 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -216,7 +216,7 @@ $.widget( "ui.tabs", { // seems to be expected behavior that the show callback is fired self.element.queue( "tabs", function() { self._trigger( "show", null, - self._ui( self.anchors[ o.selected ], self.element.find( self._sanitizeSelector( self.anchors[ o.selected ].hash ) ) ) ); + self._ui( self.anchors[ o.selected ], self.element.find( self._sanitizeSelector( self.anchors[ o.selected ].hash ) )[ 0 ] ) ); }); this.load( o.selected ); |