Side navigation
#12866 closed bug (notabug)
Opened November 08, 2012 07:21AM UTC
Closed November 08, 2012 03:15PM UTC
In animate() [callback] doesn't work when [step] is set.
| Reported by: | seagull@monitor.ru | 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 ?
Attachments (0)
Change History (1)
Changed November 08, 2012 03:15PM UTC by comment:1
| resolution: | → notabug |
|---|---|
| status: | new → closed |
When supplying options to animate, include your complete callback in the options:
{ step: function() {}, complete: function() {} }Documented here: http://api.jquery.com/animate/ (notice the different signatures)