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/