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 a5efe9d3a6074ea39f677fdf21132badb0644bd3
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 ?

0 comments on commit a5efe9d

Please sign in to comment.
You can’t perform that action at this time.