mirror of
https://github.com/adnexus/jquery-ui.git
synced 2026-07-27 07:04:53 +00:00
Tabs: Pass an element instead of jQuery object on initial show. Fixes #6867 - Inconsistent ui.panel contents for show event of tabs widget.
This commit is contained in:
Vendored
+1
-1
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user