Skip to content
Permalink
Browse files
added missing radix parameter for parseInt()
  • Loading branch information
Karl Swedberg authored and jeresig committed Nov 27, 2009
1 parent ddb86f8 commit a5efe9d
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 ?

0 comments on commit a5efe9d

Please sign in to comment.