mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
added missing radix parameter for parseInt()
This commit is contained in:
parent
ddb86f8d5b
commit
a5efe9d3a6
@ -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 ?
|
||||
|
Loading…
Reference in New Issue
Block a user