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 cf79251..0f08227 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;
                        }