diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2007-01-17 13:37:51 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2007-01-17 13:37:51 +0000 |
commit | b98898d95be5cb7bb8b9fdb0d8a2595fc8d9cdf9 (patch) | |
tree | 26e652e36ec135b631f94564c052f57ede9e7b83 | |
parent | 756183f6073a1e9fe6fae538d6f60899df47e2a1 (diff) | |
download | jquery-b98898d95be5cb7bb8b9fdb0d8a2595fc8d9cdf9.tar.gz jquery-b98898d95be5cb7bb8b9fdb0d8a2595fc8d9cdf9.zip |
prop fix takes also "line-height" into account (see #812)
-rw-r--r-- | src/jquery/jquery.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) ) |