]> source.dussan.org Git - jquery-ui.git/commitdiff
Accordion: Fixed weird behavior on accordion animations in IE. Fixed #5421 - Accordio... 92/head
authorAlex Dovenmuehle <adovenmuehle@gmail.com>
Thu, 13 Jan 2011 02:32:51 +0000 (21:32 -0500)
committerAlex Dovenmuehle <adovenmuehle@gmail.com>
Thu, 13 Jan 2011 02:43:53 +0000 (21:43 -0500)
ui/jquery.ui.accordion.js

index f7d0e27b2021c0d10e9142fee9cc3eac3edc77a3..c2847352910cdf9903767799ea35abb6c1ae8f75 100644 (file)
@@ -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 );
        }