From 7f2cbf8ae6c75566a4b7b71c0e2f5f661ba65ed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Zaefferer?= Date: Tue, 12 May 2009 08:51:48 +0000 Subject: [PATCH] Partial fix for #3773 --- ui/effects.highlight.js | 2 +- ui/ui.tabs.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/effects.highlight.js b/ui/effects.highlight.js index 048bd33dec0..9919ddab500 100644 --- a/ui/effects.highlight.js +++ b/ui/effects.highlight.js @@ -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(); }}); diff --git a/ui/ui.tabs.js b/ui/ui.tabs.js index c09ce038d4d..865178f1950 100644 --- a/ui/ui.tabs.js +++ b/ui/ui.tabs.js @@ -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'); } }