Skip to main content

Bug Tracker

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)
  • test-3646..html (0.5 KB) - added by dmethvin August 12, 2010 01:15AM UTC.
Change History (5)

Changed November 25, 2008 11:21AM UTC by flesler comment:1

cc: → strager
owner: → flesler
status: newassigned

You could use a fake attribute, or an irrelevant one.

I'll check this out asap.

Changed November 25, 2008 01:20PM UTC by strager 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 dmethvin 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 dmethvin comment:4

resolution: → duplicate
status: assignedclosed

Changed March 30, 2011 08:14PM UTC by dmethvin comment:5

Duplicate of #5459.