diff options
-rw-r--r-- | ui/effects.highlight.js | 2 | ||||
-rw-r--r-- | 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 048bd33de..9919ddab5 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 c09ce038d..865178f19 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'); } } |