aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-12-04 00:56:14 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-12-04 00:56:14 +0100
commitb9068c1523f39da8a04c799eebc9adc8b83c7279 (patch)
treed71aa2ebc1ccf1963178c5910867561ff31bba3f /ui
parent53b940fa27fc50b4663eef77249a9afce4129240 (diff)
downloadjquery-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.js4
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", "" );