Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tabs: Pass an element instead of jQuery object on initial show. Fixes…

… #6867 - Inconsistent ui.panel contents for show event of tabs widget.
  • Loading branch information...
commit c6394d7afae12739a6302fd84cf15d7e7a2cc482 1 parent a7aa65d
@scottgonzalez scottgonzalez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ui/jquery.ui.tabs.js
View
2  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 );
Please sign in to comment.
Something went wrong with that request. Please try again.