Commit 231c8756 authored by Scott Gonzalez's avatar Scott Gonzalez Committed by John Resig

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

parent ee9192d1
......@@ -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++ ){
......
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