mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fix for improper object iteration in jQuery.css method
This commit is contained in:
parent
044d47a504
commit
fcc99cd0f5
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
@ -1472,7 +1472,7 @@ jQuery.extend({
|
||||
if ( p == "height" || p == "width" ) {
|
||||
var old = {}, oHeight, oWidth, d = ["Top","Bottom","Right","Left"];
|
||||
|
||||
for ( var i in d ) {
|
||||
for ( var i=0; i<d.length; i++ ) {
|
||||
old["padding" + d[i]] = 0;
|
||||
old["border" + d[i] + "Width"] = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user