From 3471bd66e0ff5d96c8ac867dbecd2290a4708385 Mon Sep 17 00:00:00 2001 From: Alex Dovenmuehle Date: Wed, 12 Jan 2011 21:32:51 -0500 Subject: [PATCH] Accordion: Fixed weird behavior on accordion animations in IE. Fixed #5421 - Accordion header margins disappear in IE 8 --- ui/jquery.ui.accordion.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index 21e96a3c3..580fda3ed 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -503,6 +503,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 ); } -- 2.39.5