Skip to content
Permalink
Browse files

Tabs: Remove display property on hidden panels instead of setting dis…

…play:block. Surfaced by domEqual now checking for style property (see d687a1b).
  • Loading branch information
jzaefferer committed Dec 3, 2012
1 parent 53b940f commit b9068c1523f39da8a04c799eebc9adc8b83c7279
Showing with 3 additions and 1 deletion.
  1. +3 −1 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 comments on commit b9068c1

@mikesherov

This comment has been minimized.

Copy link
Member

mikesherov replied Dec 4, 2012

why?

@scottgonzalez

This comment has been minimized.

Copy link
Member

scottgonzalez replied Dec 4, 2012

Reverted in 86f1087.

Please sign in to comment.
You can’t perform that action at this time.