Skip to content
Permalink
Browse files

Accordion: Fixed weird behavior on accordion animations in IE. Fixed …

…#5421 - Accordion header margins disappear in IE 8
  • Loading branch information...
Adovenmuehle committed Jan 13, 2011
1 parent c1cc00f commit 497ec8588c177645082ab9ac08972b16afd1b3e8
Showing with 2 additions and 0 deletions.
  1. +2 −0 ui/jquery.ui.accordion.js
@@ -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 );
}

0 comments on commit 497ec85

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