Skip to content
Permalink
Browse files

Allowing falsy values to be passed as a speed for show().

  • Loading branch information
Scott Gonzalez authored and jeresig committed Nov 12, 2009
1 parent ee9192d commit 231c8756788f085d04c6120c12eaa66766abfa3f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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++ ){

0 comments on commit 231c875

Please sign in to comment.
You can’t perform that action at this time.