diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-05-12 08:51:48 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-05-12 08:51:48 +0000 |
commit | 7f2cbf8ae6c75566a4b7b71c0e2f5f661ba65ed5 (patch) | |
tree | 28d721b9ba7bc8089671a0e7409d1641324e219c /ui | |
parent | 41798e1aa0dda811af19fbb46994e6e05e3052fd (diff) | |
download | jquery-ui-7f2cbf8ae6c75566a4b7b71c0e2f5f661ba65ed5.tar.gz jquery-ui-7f2cbf8ae6c75566a4b7b71c0e2f5f661ba65ed5.zip |
Partial fix for #3773
Diffstat (limited to 'ui')
-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'); } } |