diff options
author | jeresig <jeresig@gmail.com> | 2009-12-05 14:33:40 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2009-12-05 14:33:40 -0500 |
commit | b776e2b79a5b051fba3091b0b5057ae14950f7cc (patch) | |
tree | b57f0b4f7005920bdeb86662cc3b151f62c699f9 | |
parent | b24da33f52f8ce536ae60a6cbffeb2f5cf02bac5 (diff) | |
download | jquery-b776e2b79a5b051fba3091b0b5057ae14950f7cc.tar.gz jquery-b776e2b79a5b051fba3091b0b5057ae14950f7cc.zip |
Made sure that a null speed doesn't get passed around. Patch from daltonlp. Fixes #5557.
-rw-r--r-- | src/fx.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |