Fixes a bug I introduced
This commit is contained in:
parent
c7d640f000
commit
d684122be0
|
@ -53,7 +53,7 @@ jQuery.extend({
|
||||||
|
|
||||||
// Set the alpha filter to set the opacity
|
// Set the alpha filter to set the opacity
|
||||||
var opacity = parseInt( value, 10 ) + '' === "NaN" ? "" : "alpha(opacity=" + value * 100 + ")";
|
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;
|
style.filter = ralpha.test(filter) ? filter.replace(ralpha, opacity) : opacity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue