Side navigation
#3646 closed bug (duplicate)
Opened November 25, 2008 03:44AM UTC
Closed March 30, 2011 08:14PM UTC
Last modified March 30, 2011 08:14PM UTC
animate() with empty params object == nothing
| Reported by: | strager | Owned by: | flesler | 
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 | 
| Component: | effects | Version: | 1.2.6 | 
| Keywords: | animate | Cc: | strager | 
| Blocked by: | Blocking: | 
Description
Calling animate as such:
myJQueryObject.animate({}, 2000);
Freezes the animation queue. Next animation doesn't start after 2s; everything just seems to stop.
(I was doing this to have a pause in between animations. Maybe there's a better way to do this?)
Attachments (1)
Change History (5)
Changed November 25, 2008 11:21AM UTC by comment:1
| cc: | → strager | 
|---|---|
| owner: | → flesler | 
| status: | new → assigned | 
Changed November 25, 2008 01:20PM UTC by comment:2
Yeah, I used {opacity: '+=0'} as a temporary fix and it worked fine (didn't change opacity).
Changed August 12, 2010 01:16AM UTC by comment:3
I think we just need to move the test for an empty object inside the each/queue and call the completion function.
Changed March 30, 2011 08:14PM UTC by comment:4
| resolution: | → duplicate | 
|---|---|
| status: | assigned → closed | 
You could use a fake attribute, or an irrelevant one.
I'll check this out asap.