aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Dovenmuehle <adovenmuehle@gmail.com>2011-01-12 21:32:51 -0500
committerScott González <scott.gonzalez@gmail.com>2011-01-12 22:08:35 -0500
commit3471bd66e0ff5d96c8ac867dbecd2290a4708385 (patch)
tree302bef9a3e116e7e9bf7f9fa8b5249e17ba4176a
parent4e289e8962f9c6791234206573ff7928d0d886ba (diff)
downloadjquery-ui-3471bd66e0ff5d96c8ac867dbecd2290a4708385.tar.gz
jquery-ui-3471bd66e0ff5d96c8ac867dbecd2290a4708385.zip
Accordion: Fixed weird behavior on accordion animations in IE. Fixed #5421 - Accordion header margins disappear in IE 8
-rw-r--r--ui/jquery.ui.accordion.js2
1 files changed, 2 insertions, 0 deletions
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 );
}