]> source.dussan.org Git - jquery-ui.git/commitdiff
Accordion: Fixed weird behavior on accordion animations in IE. Fixed #5421 - Accordio...
authorAlex Dovenmuehle <adovenmuehle@gmail.com>
Thu, 13 Jan 2011 02:32:51 +0000 (21:32 -0500)
committerScott González <scott.gonzalez@gmail.com>
Thu, 13 Jan 2011 03:08:35 +0000 (22:08 -0500)
ui/jquery.ui.accordion.js

index 21e96a3c3337f5f56642a3392187df5530c6d0b8..580fda3ed69bd338a2cf2b52c358c99a8bfb7b9e 100644 (file)
@@ -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 );
        }