]> source.dussan.org Git - jquery-ui.git/commitdiff
Tabs: Remove display property on hidden panels instead of setting display:block....
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 3 Dec 2012 23:56:14 +0000 (00:56 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 3 Dec 2012 23:56:14 +0000 (00:56 +0100)
ui/jquery.ui.tabs.js

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