From: Yehuda Katz Date: Sat, 5 Dec 2009 02:18:37 +0000 (-0800) Subject: Fixes a bug I introduced X-Git-Tag: 1.4a2~109 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d684122be0ce3484fb9a4ead11db98d18c5805e7;p=jquery.git Fixes a bug I introduced --- diff --git a/src/css.js b/src/css.js index cf7925104..0f08227b2 100644 --- a/src/css.js +++ b/src/css.js @@ -53,7 +53,7 @@ jQuery.extend({ // Set the alpha filter to set the opacity var opacity = parseInt( value, 10 ) + '' === "NaN" ? "" : "alpha(opacity=" + value * 100 + ")"; - filter = style.filter || jQuery.curCSS( elem, 'filter' ) || "" + var filter = style.filter || jQuery.curCSS( elem, 'filter' ) || ""; style.filter = ralpha.test(filter) ? filter.replace(ralpha, opacity) : opacity; }