]> source.dussan.org Git - jquery.git/commitdiff
Fixes a bug I introduced
authorYehuda Katz <wycats@Yehuda-Katz.local>
Sat, 5 Dec 2009 02:18:37 +0000 (18:18 -0800)
committerYehuda Katz <wycats@Yehuda-Katz.local>
Sat, 5 Dec 2009 02:18:43 +0000 (18:18 -0800)
src/css.js

index cf792510401c1aed91ba26610634a49531bcddcc..0f08227b28d0989fc80b75e0cd5df4b9071611a8 100644 (file)
@@ -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;
                        }