Skip to content
Permalink
Browse files

Fixed the issue with queued effects becoming corrupted.

  • Loading branch information
jeresig committed Aug 17, 2006
1 parent 9c173f7 commit ec38c6086c3d0efd65e9c6060cb641e80ae3b2a9
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/fx/fx.js
@@ -475,18 +475,18 @@ jQuery.extend({
// Reset the overflow
y.overflow = z.el.oldOverflow;

// If a callback was provided, execute it
if( z.o.complete && z.o.complete.constructor == Function )
// Execute the complete function
z.o.complete.apply( z.el );

// Reset the property, if the item has been hidden
if ( z.o.hide )
y[ prop ] = z.el.orig[ prop ].constructor == Number && prop != "opacity" ?
z.el.orig[prop] + "px" : z.el.orig[prop];

// set its height and/or width to auto
jQuery.setAuto( z.el, prop );

// If a callback was provided, execute it
if( z.o.complete && z.o.complete.constructor == Function )
// Execute the complete function
z.o.complete.apply( z.el );
} else {
// Figure out where in the animation we are and set the number
var p = (t - this.startTime) / z.o.duration;

0 comments on commit ec38c60

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