mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
We can just use isNaN for this check in the IE opacity code.
This commit is contained in:
@@ -187,7 +187,7 @@ if ( !jQuery.support.opacity ) {
|
||||
style.zoom = 1;
|
||||
|
||||
// Set the alpha filter to set the opacity
|
||||
var opacity = parseInt( value, 10 ) + "" === "NaN" ?
|
||||
var opacity = isNaN(value) ?
|
||||
"" :
|
||||
"alpha(opacity=" + value * 100 + ")";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user