aboutsummaryrefslogtreecommitdiffstats
path: root/src/css.js
diff options
context:
space:
mode:
authorYehuda Katz <wycats@Yehuda-Katz.local>2009-12-04 18:18:37 -0800
committerYehuda Katz <wycats@Yehuda-Katz.local>2009-12-04 18:18:43 -0800
commitd684122be0ce3484fb9a4ead11db98d18c5805e7 (patch)
tree85bed3bfc3e7dcf711604d3ace5d9152bf02283a /src/css.js
parentc7d640f000c6945a238aa99952b4b1b378775d7e (diff)
downloadjquery-d684122be0ce3484fb9a4ead11db98d18c5805e7.tar.gz
jquery-d684122be0ce3484fb9a4ead11db98d18c5805e7.zip
Fixes a bug I introduced
Diffstat (limited to 'src/css.js')
-rw-r--r--src/css.js2
1 files changed, 1 insertions, 1 deletions
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;
}