Skip to main content

Bug Tracker

Side navigation

#9475 closed bug (fixed)

Opened May 31, 2011 10:58PM UTC

Closed June 05, 2011 01:44AM UTC

Last modified June 05, 2011 02:14AM UTC

Extra callback fired when .stop() is called on a different element

Reported by: Owned by:
Priority: low Milestone:
Component: effects Version: 1.6
Keywords: Cc:
Blocked by: Blocking:

Call .animate() on two different elements one after the other and give the second one a "complete" callback.

In the callback function call .stop() on the first element, the one with no callback.

The callback function should only fire once (when the second element's animation completes) but instead it fires ''twice''.

It only occurs when the animations are started in that order and stop() is called inside the callback.

Here's a jsFiddle of my reduced test case:

Maybe this is related to another .stop() bug I just filed:

Attachments (0)
Change History (2)

Changed June 05, 2011 01:44AM UTC by timmywil comment:1

component: unfiledeffects
priority: undecidedlow
resolution: → fixed
status: newclosed

This works fine in the git version of jQuery.

Changed June 05, 2011 02:14AM UTC by anonymous comment:2

When I try to run your fiddle in Chrome it fails to load the framework.