aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2007-01-14 13:48:41 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2007-01-14 13:48:41 +0000
commit213118c81e3c441a99f2e0d3b8753538ffbc9b46 (patch)
tree60aad38313801c9c2cb556ed3e35513acd2263fd /src
parente1e631a04440c0d9ab6580ea1593286072fa7ef5 (diff)
downloadjquery-213118c81e3c441a99f2e0d3b8753538ffbc9b46.tar.gz
jquery-213118c81e3c441a99f2e0d3b8753538ffbc9b46.zip
Fix wrong type check in jQuery.prop
Diffstat (limited to 'src')
-rw-r--r--src/jquery/jquery.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index 8c27b42b1..618cada1b 100644
--- 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;