Opened 10 years ago
Closed 10 years ago
#12866 closed bug (notabug)
In animate() [callback] doesn't work when [step] is set.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When using step-option with animate() the callback-function doesn't work.
$("BODY").animate({}, function() {alert('Alert !!!');}); $("BODY").animate({}, {step: function() {}}, function() {alert('No alert...');});
Bug ?
Note: See
TracTickets for help on using
tickets.
When supplying options to animate, include your complete callback in the options:
Documented here: http://api.jquery.com/animate/ (notice the different signatures)