From 756183f6073a1e9fe6fae538d6f60899df47e2a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Wed, 17 Jan 2007 13:33:17 +0000 Subject: [PATCH 1/1] prop fix takes also "zoom" into account (see #803) --- 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 f756b67..6795969 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/i; + var exclude = /z-?index|font-?weight|opacity|zoom/i; // Handle passing in a number to a CSS property if ( value.constructor == Number && type == "curCSS" && !exclude.test(prop) ) -- 1.7.10.4