display block was being set on top/left animation, when they shouldn't be.
This commit is contained in:
parent
9e83f1b65f
commit
4577cd4b16
1 changed files with 4 additions and 1 deletions
|
@ -443,7 +443,10 @@ jQuery.extend({
|
||||||
jQuery.attr(y, "opacity", z.now); // Let attr handle opacity
|
jQuery.attr(y, "opacity", z.now); // Let attr handle opacity
|
||||||
else {
|
else {
|
||||||
y[prop] = parseInt(z.now) + "px";
|
y[prop] = parseInt(z.now) + "px";
|
||||||
y.display = "block"; // Set display property to block for animation
|
|
||||||
|
// Set display property to block for height/width animations
|
||||||
|
if ( prop == "height" || prop == "width" )
|
||||||
|
y.display = "block";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue