diff --git a/src/fx/fx.js b/src/fx/fx.js index 0ede5eea..d83bf0dd 100644 --- 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;