aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/css.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css.js b/src/css.js
index b9a1c52be..77949aebc 100644
--- a/src/css.js
+++ b/src/css.js
@@ -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 + ")";