.stop() wouldn't resume any queued animations.
authorJohn Resig <jeresig@gmail.com>
Sun, 9 Sep 2007 16:12:56 +0000 (16:12 +0000)
committerJohn Resig <jeresig@gmail.com>
Sun, 9 Sep 2007 16:12:56 +0000 (16:12 +0000)
src/fx.js

index 9fde6b9..c708b1a 100644 (file)
--- a/src/fx.js
+++ b/src/fx.js
@@ -166,7 +166,7 @@ jQuery.fn.extend({
                        for ( var i = 0; i < timers.length; i++ )
                                if ( timers[i].elem == this )
                                        timers.splice(i--, 1);
-               });
+               }).dequeue();
        }
 
 });