Bug Tracker

Opened 10 years ago

Closed 10 years ago

#5910 closed bug (fixed)

In 1.4, show/hide methods call animate() when speed is false or empty string

Reported by: kswedberg Owned by:
Priority: major Milestone: 1.4.1
Component: effects Version: 1.4
Keywords: Cc:
Blocked by: Blocking:

Description

This isn't necessarily wrong, but it's different from previous versions, so I changed the conditional from:

if ( speed != null )

to:

if ( speed
speed === 0 )

I committed the change to my fork on Github: http://github.com/kswedberg/jquery/commit/e708de615723fbff3d121be00c2e4da60fcc72bd

And committed some tests: http://github.com/kswedberg/jquery/commit/a67e074225da785670a170084fbbb490a6915f1e

Change History (1)

Note: See TracTickets for help on using tickets.