Skip to content
Permalink
Browse files

More jQuery.speed() fixes.

  • Loading branch information
jeresig committed Jan 10, 2007
1 parent a380620 commit 6de5275687cabf1016649899407c9cfb26d4ed70
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 6de5275

Please sign in to comment.
You can’t perform that action at this time.