Skip to main content

Bug Tracker

Side navigation

#5910 closed bug (fixed)

Opened January 23, 2010 02:15AM UTC

Closed January 23, 2010 05:25PM UTC

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

Attachments (0)
Change History (1)

Changed January 23, 2010 05:25PM UTC by john comment:1