Modify ↓
Ticket #10425 (closed bug: duplicate)
animate's complete infinite loop on exception
| Reported by: | rg1693@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | effects | Version: | 1.6.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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/
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
