]> source.dussan.org Git - jquery-ui.git/commitdiff
Partial fix for #3773
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 12 May 2009 08:51:48 +0000 (08:51 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 12 May 2009 08:51:48 +0000 (08:51 +0000)
ui/effects.highlight.js
ui/ui.tabs.js

index 048bd33dec016f324af98de016740228ad93c2e5..9919ddab5006ee936fa2a1b5bf2dbeb6ee16cb7f 100644 (file)
@@ -36,7 +36,7 @@ $.effects.highlight = function(o) {
                el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() {
                        if(mode == "hide") el.hide();
                        $.effects.restore(el, props);
-               if (mode == "show" && $.browser.msie) this.style.removeAttribute('filter');
+                       if (mode == "show" && !$.support.opacity) this.style.removeAttribute('filter');
                        if(o.callback) o.callback.apply(this, arguments);
                        el.dequeue();
                }});
index c09ce038d4d4e766bd994a6a481ac61ec4be65aa..865178f19506a4c46ab4577942c7cb6c7976bdd9 100644 (file)
@@ -262,7 +262,7 @@ $.widget("ui.tabs", {
                // and prevent IE's ClearType bug...
                function resetStyle($el, fx) {
                        $el.css({ display: '' });
-                       if ($.browser.msie && fx.opacity) {
+                       if (!$.support.opacity && fx.opacity) {
                                $el[0].style.removeAttribute('filter');
                        }
                }