Fixed #1438 where a filter could be set in IE but not have opacity in it. The JS...
[jquery.git] / src / core.js
index bd6d929..5a842d5 100644 (file)
@@ -1064,7 +1064,7 @@ jQuery.extend({
                                                (parseFloat( value ).toString() == "NaN" ? "" : "alpha(opacity=" + value * 100 + ")");
                                }
        
-                               return elem.filter ? 
+                               return elem.filter && elem.filter.indexOf("opacity=") >= 0 ?
                                        (parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100).toString() :
                                        "";
                        }