Skip to content

Commit b9068c1

Browse files
committed
Tabs: Remove display property on hidden panels instead of setting display:block. Surfaced by domEqual now checking for style property (see d687a1b).
1 parent 53b940f commit b9068c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui/jquery.ui.tabs.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,9 @@ $.widget( "ui.tabs", {
718718
}
719719
});
720720

721-
this.panels.show();
721+
this.panels.css({
722+
display: ""
723+
});
722724

723725
if ( this.options.heightStyle !== "content" ) {
724726
this.panels.css( "height", "" );

0 commit comments

Comments
 (0)