Commit 0da700a4 authored by jeresig's avatar jeresig

We can just use isNaN for this check in the IE opacity code.

parent 6dd2dc42
......@@ -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 + ")";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment