Skip to main content

Bug Tracker

Side navigation

#10425 closed bug (duplicate)

Opened October 05, 2011 10:55AM UTC

Closed October 05, 2011 08:49PM UTC

Last modified March 09, 2012 07:27PM UTC

animate's complete infinite loop on exception

Reported by: rg1693@gmail.com Owned by:
Priority: low Milestone: None
Component: effects Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:
Description

When the 'complete' callback provided to animate() throws an exception, jquery will execute it again and again. this is done like this:

$('#bbb').animate(
    {width:200},
    1000,
    undefined,
    function() { throw "lets start again"}
);

here's a demonstration: http://jsfiddle.net/b5Ydg/1/

Attachments (0)
Change History (2)

Changed October 05, 2011 08:49PM UTC by timmywil comment:1

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

Changed October 05, 2011 08:49PM UTC by timmywil comment:2

Duplicate of #5684.