From 231c8756788f085d04c6120c12eaa66766abfa3f Mon Sep 17 00:00:00 2001 From: Scott Gonzalez Date: Fri, 13 Nov 2009 06:27:10 +0800 Subject: [PATCH] Allowing falsy values to be passed as a speed for show(). --- src/fx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fx.js b/src/fx.js index 801d92c0c..62cda09e1 100644 --- a/src/fx.js +++ b/src/fx.js @@ -19,7 +19,7 @@ function genFx( type, num ){ jQuery.fn.extend({ show: function(speed,callback){ - if ( speed !== undefined ) { + if ( speed ) { return this.animate( genFx("show", 3), speed, callback); } else { for ( var i = 0, l = this.length; i < l; i++ ){