Skip to content
Permalink
Browse files

Scale: Reset opacity after animation. Fixed #4274 - New show hide eff…

…ects don't execute correctly in IE.
  • Loading branch information
scottgonzalez committed Jul 9, 2009
1 parent 292d9df commit f51cdf206cb208948190097b981abf9d4485fc43
Showing with 3 additions and 0 deletions.
  1. +3 −0 ui/effects.scale.js
@@ -162,6 +162,9 @@ $.effects.size = function(o) {

// Animate
el.animate(el.to, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() {
if (el.to.opacity === 0) {
el.css('opacity', el.from.opacity);
}
if(mode == 'hide') el.hide(); // Hide
$.effects.restore(el, restore ? props : props1); $.effects.removeWrapper(el); // Restore
if(o.callback) o.callback.apply(this, arguments); // Callback

0 comments on commit f51cdf2

Please sign in to comment.
You can’t perform that action at this time.