added missing radix parameter for parseInt()

This commit is contained in:
Karl Swedberg 2009-11-28 03:29:44 +08:00 committed by John Resig
parent ddb86f8d5b
commit a5efe9d3a6

View file

@ -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 ?