Skip to content
Permalink
Browse files

prop fix takes also "line-height" into account (see #812)

  • Loading branch information
jzaefferer committed Jan 17, 2007
1 parent 756183f commit b98898d95be5cb7bb8b9fdb0d8a2595fc8d9cdf9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/jquery/jquery.js
@@ -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) )

0 comments on commit b98898d

Please sign in to comment.
You can’t perform that action at this time.