git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b24da33
)
Made sure that a null speed doesn't get passed around. Patch from daltonlp. Fixes...
author
jeresig
<jeresig@gmail.com>
Sat, 5 Dec 2009 19:33:40 +0000
(14:33 -0500)
committer
jeresig
<jeresig@gmail.com>
Sat, 5 Dec 2009 19:33:40 +0000
(14:33 -0500)
src/fx.js
patch
|
blob
|
history
diff --git
a/src/fx.js
b/src/fx.js
index
15fce5c
..
fa17072
100644
(file)
--- a/
src/fx.js
+++ b/
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,