Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 9cd5866a292b1d653651237802d80393a9081528 1 parent 231c875
Scott Gonzalez authored jeresig committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/fx.js
View
2  src/fx.js
@@ -59,7 +59,7 @@ jQuery.fn.extend({
},
hide: function(speed,callback){
- if ( speed !== undefined ) {
+ if ( speed ) {
return this.animate( genFx("hide", 3), speed, callback);
} else {
for ( var i = 0, l = this.length; i < l; i++ ){
Please sign in to comment.
Something went wrong with that request. Please try again.