Skip to content

Commit

Permalink
Accordion: Fixed weird behavior on accordion animations in IE. Fixed …
Browse files Browse the repository at this point in the history
…#5421 - Accordion header margins disappear in IE 8
  • Loading branch information
Adovenmuehle committed Jan 13, 2011
1 parent c1cc00f commit 497ec85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/jquery.ui.accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,8 @@ $.widget( "ui.accordion", {

// other classes are removed before the animation; this one needs to stay until completed
this.toHide.removeClass( "ui-accordion-content-active" );
// Work around for rendering bug in IE (#5421)
this.toHide.parent()[0].className = this.toHide.parent()[0].className;

this._trigger( "change", null, this.data );
}
Expand Down

0 comments on commit 497ec85

Please sign in to comment.