From: Jörn Zaefferer Date: Mon, 3 Dec 2012 23:56:14 +0000 (+0100) Subject: Tabs: Remove display property on hidden panels instead of setting display:block.... X-Git-Tag: 1.10.0-beta.1~52 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b9068c1523f39da8a04c799eebc9adc8b83c7279;p=jquery-ui.git Tabs: Remove display property on hidden panels instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b). --- diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index dcb0c2768..d1c7448d6 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -718,7 +718,9 @@ $.widget( "ui.tabs", { } }); - this.panels.show(); + this.panels.css({ + display: "" + }); if ( this.options.heightStyle !== "content" ) { this.panels.css( "height", "" );