mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Accordion: Fixed weird behavior on accordion animations in IE. Fixed #5421 - Accordion header margins disappear in IE 8
This commit is contained in:
parent
4e289e8962
commit
3471bd66e0
2
ui/jquery.ui.accordion.js
vendored
2
ui/jquery.ui.accordion.js
vendored
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user