Skip to content
Permalink
Browse files
Fix wrong type check in jQuery.prop
  • Loading branch information
jzaefferer committed Jan 14, 2007
1 parent e1e631a commit 213118c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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;

0 comments on commit 213118c

Please sign in to comment.