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:
e1e631a
)
Fix wrong type check in jQuery.prop
author
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Sun, 14 Jan 2007 13:48:41 +0000
(13:48 +0000)
committer
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Sun, 14 Jan 2007 13:48:41 +0000
(13:48 +0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
8c27b42
..
618cada
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-1261,7
+1261,7
@@
jQuery.extend({
return value.call( elem );
// Handle passing in a number to a CSS property
- if ( value.constructor == Number && type == "css" )
+ if ( value.constructor == Number && type == "curCSS" )
return value + "px";
return value;