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...
1 parent 78a7cf6 commit b27be158f2dc1aab317535f081b18f367fe6175e @jeresig jeresig committed Aug 31, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/fx/fx.js
View
@@ -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.