Fixed issue with opacity being set to only 0.9999 for Opera, Safari, et. al - which it was, in fact a Mozilla issue (or, at least, it seems).

This commit is contained in:
John Resig 2006-08-31 04:22:45 +00:00
parent 78a7cf63f6
commit b27be158f2

View file

@ -396,7 +396,7 @@ jQuery.extend({
options.step.apply( elem, [ z.now ] );
if ( prop == "opacity" ) {
if (z.now == 1) z.now = 0.9999;
if (jQuery.browser.mozilla && z.now == 1) z.now = 0.9999;
if (window.ActiveXObject)
y.filter = "alpha(opacity=" + z.now*100 + ")";
else