We can just use isNaN for this check in the IE opacity code.
This commit is contained in:
parent
6dd2dc4270
commit
0da700a4d0
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ if ( !jQuery.support.opacity ) {
|
||||||
style.zoom = 1;
|
style.zoom = 1;
|
||||||
|
|
||||||
// Set the alpha filter to set the opacity
|
// Set the alpha filter to set the opacity
|
||||||
var opacity = parseInt( value, 10 ) + "" === "NaN" ?
|
var opacity = isNaN(value) ?
|
||||||
"" :
|
"" :
|
||||||
"alpha(opacity=" + value * 100 + ")";
|
"alpha(opacity=" + value * 100 + ")";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue