Skip to content
Permalink
Browse files

Made sure that a null speed doesn't get passed around. Patch from dal…

…tonlp. Fixes #5557.
  • Loading branch information
jeresig committed Dec 5, 2009
1 parent b24da33 commit b776e2b79a5b051fba3091b0b5057ae14950f7cc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/fx.js
@@ -219,7 +219,7 @@ jQuery.each({
jQuery.extend({

speed: function(speed, easing, fn) {
var opt = typeof speed === "object" ? speed : {
var opt = speed && typeof speed === "object" ? speed : {
complete: fn || !fn && easing ||
jQuery.isFunction( speed ) && speed,
duration: speed,

0 comments on commit b776e2b

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