Commit 9cd5866a authored by Scott Gonzalez's avatar Scott Gonzalez Committed by John Resig

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

parent 231c8756
......@@ -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++ ){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment