Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
prop fix takes also "line-height" into account (see #812)
  • Loading branch information
jzaefferer committed Jan 17, 2007
1 parent 756183f commit b98898d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jquery/jquery.js
Expand Up @@ -1268,7 +1268,7 @@ jQuery.extend({
return value.call( elem, [index] );

// exclude the following css properties to add px
var exclude = /z-?index|font-?weight|opacity|zoom/i;
var exclude = /z-?index|font-?weight|opacity|zoom|line-?height/i;

// Handle passing in a number to a CSS property
if ( value.constructor == Number && type == "curCSS" && !exclude.test(prop) )
Expand Down

0 comments on commit b98898d

Please sign in to comment.