From b9068c1523f39da8a04c799eebc9adc8b83c7279 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Tue, 4 Dec 2012 00:56:14 +0100 Subject: [PATCH] Tabs: Remove display property on hidden panels instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b). --- ui/jquery.ui.tabs.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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", "" ); -- 2.39.5