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:
a380620
)
More jQuery.speed() fixes.
author
John Resig
<jeresig@gmail.com>
Wed, 10 Jan 2007 01:06:22 +0000
(
01:06
+0000)
committer
John Resig
<jeresig@gmail.com>
Wed, 10 Jan 2007 01:06:22 +0000
(
01:06
+0000)
src/fx/fx.js
patch
|
blob
|
history
diff --git
a/src/fx/fx.js
b/src/fx/fx.js
index
0ede5ee
..
d83bf0d
100644
(file)
--- a/
src/fx/fx.js
+++ b/
src/fx/fx.js
@@
-363,7
+363,7
@@
jQuery.extend({
easing: fn && easing || easing && easing.constructor != Function && easing
};
- opt.duration = (opt.duration.constructor == Number ?
+ opt.duration = (opt.duration && opt.duration.constructor == Number ?
opt.duration :
{ slow: 600, fast: 200 }[opt.duration]) || 400;