Commit a5efe9d3 authored by Karl Swedberg's avatar Karl Swedberg Committed by John Resig

added missing radix parameter for parseInt()

parent ddb86f8d
...@@ -53,7 +53,7 @@ jQuery.extend({ ...@@ -53,7 +53,7 @@ jQuery.extend({
// Set the alpha filter to set the opacity // Set the alpha filter to set the opacity
style.filter = (style.filter || "").replace( ralpha, "" ) + 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 ? return style.filter && style.filter.indexOf("opacity=") >= 0 ?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment