From b98898d95be5cb7bb8b9fdb0d8a2595fc8d9cdf9 Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Wed, 17 Jan 2007 13:37:51 +0000 Subject: prop fix takes also "line-height" into account (see #812) --- src/jquery/jquery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 67959697b..085b576b9 100644 --- a/src/jquery/jquery.js +++ b/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) ) -- cgit v1.2.3