Made a mistake in the patch for #3618, landing fix.

This commit is contained in:
John Resig 2008-11-18 06:00:34 +00:00
parent d81dfbcccf
commit d1f089952e

View file

@ -205,7 +205,7 @@ jQuery.extend({
complete: fn || !fn && easing ||
jQuery.isFunction( speed ) && speed,
duration: speed,
easing: fn && easing || jQuery.isFunction(easing) && easing
easing: fn && easing || easing && !jQuery.isFunction(easing) && easing
};
opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :