]> source.dussan.org Git - jquery.git/commitdiff
added missing radix parameter for parseInt()
authorKarl Swedberg <karl@englishrules.com>
Fri, 27 Nov 2009 19:29:44 +0000 (03:29 +0800)
committerJohn Resig <jeresig@gmail.com>
Fri, 27 Nov 2009 20:09:14 +0000 (04:09 +0800)
src/css.js

index ddd42b4b2c526f0a75f2f325d6229bbbebbdb0ee..38007b7cbc33acef7743bc6a9da671e178e48c59 100644 (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 ?