Skip to content
Permalink
Browse files
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).
  • Loading branch information
jeresig committed Aug 31, 2006
1 parent 78a7cf6 commit b27be15
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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

0 comments on commit b27be15

Please sign in to comment.