mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
More jQuery.speed() fixes.
This commit is contained in:
parent
a3806202ff
commit
6de5275687
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user