diff options
author | Karl Swedberg <karl@englishrules.com> | 2009-11-28 03:29:44 +0800 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2009-11-28 04:09:14 +0800 |
commit | a5efe9d3a6074ea39f677fdf21132badb0644bd3 (patch) | |
tree | af17c4434b50d97e2df9f288797abd3332bba646 | |
parent | ddb86f8d5bd1bd21b2beeeea55baf505b47dfed5 (diff) | |
download | jquery-a5efe9d3a6074ea39f677fdf21132badb0644bd3.tar.gz jquery-a5efe9d3a6074ea39f677fdf21132badb0644bd3.zip |
added missing radix parameter for parseInt()
-rw-r--r-- | src/css.js | 2 |
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 ? |