git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
756183f
)
prop fix takes also "line-height" into account (see #812)
author
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Wed, 17 Jan 2007 13:37:51 +0000
(13:37 +0000)
committer
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Wed, 17 Jan 2007 13:37:51 +0000
(13:37 +0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
6795969
..
085b576
100644
(file)
--- 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) )