Commit 213118c8 authored by Jörn Zaefferer's avatar Jörn Zaefferer

Fix wrong type check in jQuery.prop

parent e1e631a0
...@@ -1261,7 +1261,7 @@ jQuery.extend({ ...@@ -1261,7 +1261,7 @@ jQuery.extend({
return value.call( elem ); return value.call( elem );
// Handle passing in a number to a CSS property // 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 + "px";
return value; return value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment