Skip to content

Commit 3471bd6

Browse files
Adovenmuehlescottgonzalez
authored andcommitted
Accordion: Fixed weird behavior on accordion animations in IE. Fixed #5421 - Accordion header margins disappear in IE 8
1 parent 4e289e8 commit 3471bd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/jquery.ui.accordion.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,8 @@ $.widget( "ui.accordion", {
503503

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

507509
this._trigger( "change", null, this.data );
508510
}

0 commit comments

Comments
 (0)