]> source.dussan.org Git - jquery.git/commitdiff
Fixed issue with opacity being set to only 0.9999 for Opera, Safari, et. al - which...
authorJohn Resig <jeresig@gmail.com>
Thu, 31 Aug 2006 04:22:45 +0000 (04:22 +0000)
committerJohn Resig <jeresig@gmail.com>
Thu, 31 Aug 2006 04:22:45 +0000 (04:22 +0000)
src/fx/fx.js

index c9f078eb89d95abf18ffc930589b59f773d2d185..3df95de280e9e30b8f09cae449bf4b2988cd683a 100644 (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