diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-12-04 00:56:14 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-12-04 00:56:14 +0100 |
commit | b9068c1523f39da8a04c799eebc9adc8b83c7279 (patch) | |
tree | d71aa2ebc1ccf1963178c5910867561ff31bba3f /ui | |
parent | 53b940fa27fc50b4663eef77249a9afce4129240 (diff) | |
download | jquery-ui-b9068c1523f39da8a04c799eebc9adc8b83c7279.tar.gz jquery-ui-b9068c1523f39da8a04c799eebc9adc8b83c7279.zip |
Tabs: Remove display property on hidden panels instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b).
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.tabs.js | 4 |
1 files changed, 3 insertions, 1 deletions
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", "" ); |