aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Swedberg <karl@englishrules.com>2009-11-28 03:29:44 +0800
committerJohn Resig <jeresig@gmail.com>2009-11-28 04:09:14 +0800
commita5efe9d3a6074ea39f677fdf21132badb0644bd3 (patch)
treeaf17c4434b50d97e2df9f288797abd3332bba646
parentddb86f8d5bd1bd21b2beeeea55baf505b47dfed5 (diff)
downloadjquery-a5efe9d3a6074ea39f677fdf21132badb0644bd3.tar.gz
jquery-a5efe9d3a6074ea39f677fdf21132badb0644bd3.zip
added missing radix parameter for parseInt()
-rw-r--r--src/css.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css.js b/src/css.js
index ddd42b4b2..38007b7cb 100644
--- a/src/css.js
+++ b/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 ?