More jQuery.speed() fixes.
This commit is contained in:
parent
a3806202ff
commit
6de5275687
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue