diff options
author | Alex Dovenmuehle <adovenmuehle@gmail.com> | 2011-01-12 21:32:51 -0500 |
---|---|---|
committer | Alex Dovenmuehle <adovenmuehle@gmail.com> | 2011-01-12 21:43:53 -0500 |
commit | 497ec8588c177645082ab9ac08972b16afd1b3e8 (patch) | |
tree | 89c5d0e734b2674d96c21a8cb50f81451fc185a3 /ui/jquery.ui.accordion.js | |
parent | c1cc00f6096ddab9d27214c7f62279127a37d8dd (diff) | |
download | jquery-ui-497ec8588c177645082ab9ac08972b16afd1b3e8.tar.gz jquery-ui-497ec8588c177645082ab9ac08972b16afd1b3e8.zip |
Accordion: Fixed weird behavior on accordion animations in IE. Fixed #5421 - Accordion header margins disappear in IE 8
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r-- | ui/jquery.ui.accordion.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index f7d0e27b2..c28473529 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -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 ); } |