diff --git a/src/css.js b/src/css.js index ddd42b4b..38007b7c 100644 --- a/src/css.js +++ b/src/css.js @@ -53,7 +53,7 @@ jQuery.extend({ // Set the alpha filter to set the opacity style.filter = (style.filter || "").replace( ralpha, "" ) + - (parseInt( value ) + '' === "NaN" ? "" : "alpha(opacity=" + value * 100 + ")"); + (parseInt( value, 10 ) + '' === "NaN" ? "" : "alpha(opacity=" + value * 100 + ")"); } return style.filter && style.filter.indexOf("opacity=") >= 0 ?