Tabs: Remove display property on hidden panels instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b).

This commit is contained in:
Jörn Zaefferer 2012-12-04 00:56:14 +01:00
parent 53b940fa27
commit b9068c1523

View File

@ -718,7 +718,9 @@ $.widget( "ui.tabs", {
}
});
this.panels.show();
this.panels.css({
display: ""
});
if ( this.options.heightStyle !== "content" ) {
this.panels.css( "height", "" );