Skip to content

Commit

Permalink
More jQuery.speed() fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Jan 10, 2007
1 parent a380620 commit 6de5275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fx/fx.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6de5275

Please sign in to comment.