mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Added a fix for easing problems (fall back to "linear" if swing doesn't exist) (bug #1212).
This commit is contained in:
parent
8b683b891f
commit
5bb0902c5e
@ -364,7 +364,7 @@ jQuery.extend({
|
||||
complete: fn || !fn && easing ||
|
||||
jQuery.isFunction( speed ) && speed,
|
||||
duration: speed,
|
||||
easing: fn && easing || easing && easing.constructor != Function && easing || "swing"
|
||||
easing: fn && easing || easing && easing.constructor != Function && easing || (jQuery.easing.swing ? "swing" : "linear")
|
||||
};
|
||||
|
||||
opt.duration = (opt.duration && opt.duration.constructor == Number ?
|
||||
|
Loading…
Reference in New Issue
Block a user