Fixes a bug I introduced

This commit is contained in:
Yehuda Katz 2009-12-04 18:18:37 -08:00
parent c7d640f000
commit d684122be0

View 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;
}