git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
044d47a
)
Fix for improper object iteration in jQuery.css method
author
Brandon Aaron
<brandon.aaron@gmail.com>
Wed, 15 Nov 2006 01:58:02 +0000
(
01:58
+0000)
committer
Brandon Aaron
<brandon.aaron@gmail.com>
Wed, 15 Nov 2006 01:58:02 +0000
(
01:58
+0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
72596ad
..
9f6fbd0
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-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;
}