Skip to content
Permalink
Browse files

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

  • Loading branch information
jeresig committed Sep 27, 2010
1 parent 6dd2dc4 commit 0da700a4d03c1c43e75e3ab7f8e719e13c7e444a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 + ")";

0 comments on commit 0da700a

Please sign in to comment.
You can’t perform that action at this time.