Skip to content

Commit

Permalink
Tabs: Remove display property on hidden panels instead of setting dis…
Browse files Browse the repository at this point in the history
…play:block. Surfaced by domEqual now checking for style property (see d687a1b).
  • Loading branch information
jzaefferer committed Dec 3, 2012
1 parent 53b940f commit b9068c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/jquery.ui.tabs.js
Expand Up @@ -718,7 +718,9 @@ $.widget( "ui.tabs", {
}
});

this.panels.show();
this.panels.css({
display: ""
});

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

2 comments on commit b9068c1

@mikesherov
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

@scottgonzalez
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted in 86f1087.

Please sign in to comment.