mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 22:18:26 -05:00
display block was being set on top/left animation, when they shouldn't be.
This commit is contained in:
@@ -443,7 +443,10 @@ jQuery.extend({
|
||||
jQuery.attr(y, "opacity", z.now); // Let attr handle opacity
|
||||
else {
|
||||
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";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user