git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made sure that a null speed doesn't get passed around. Patch from daltonlp. Fixes...
[jquery.git]
/
src
/
fx.js
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,