r2528 - Partial fix for #3773
Author: joern.zaefferer
Date: Tue May 12 01:51:48 2009
New Revision: 2528
Modified:
trunk/ui/effects.highlight.js
trunk/ui/ui.tabs.js
Log:
Partial fix for #3773
Modified: trunk/ui/effects.highlight.js
==============================================================================
--- trunk/ui/effects.highlight.js (original)
+++ trunk/ui/effects.highlight.js Tue May 12 01:51:48 2009
@@ -36,7 +36,7 @@
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();
}});
Modified: trunk/ui/ui.tabs.js
==============================================================================
--- trunk/ui/ui.tabs.js (original)
+++ trunk/ui/ui.tabs.js Tue May 12 01:51:48 2009
@@ -262,7 +262,7 @@
// 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');
}
}