Make sure that animated show resets the display correctly. Fixes #5130.
This commit is contained in:
parent
2d27e053a0
commit
3c89e38fc2
2 changed files with 40 additions and 1 deletions
|
@ -359,7 +359,9 @@ jQuery.fx.prototype = {
|
|||
this.elem.style.overflow = this.options.overflow;
|
||||
|
||||
// Reset the display
|
||||
this.elem.style.display = this.options.display;
|
||||
var old = jQuery.data(this.elem, "olddisplay");
|
||||
this.elem.style.display = old ? old : this.options.display;
|
||||
|
||||
if ( jQuery.css(this.elem, "display") == "none" ) {
|
||||
this.elem.style.display = "block";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue