Make sure that a clone of the animate speed properties are used to avoid recursion problems. Fixes #3583.
This commit is contained in:
parent
e0a9615f82
commit
f10057bc48
2
src/effects.js
vendored
2
src/effects.js
vendored
|
@ -248,7 +248,7 @@ jQuery.each({
|
||||||
|
|
||||||
jQuery.extend({
|
jQuery.extend({
|
||||||
speed: function( speed, easing, fn ) {
|
speed: function( speed, easing, fn ) {
|
||||||
var opt = speed && typeof speed === "object" ? speed : {
|
var opt = speed && typeof speed === "object" ? jQuery.extend({}, speed) : {
|
||||||
complete: fn || !fn && easing ||
|
complete: fn || !fn && easing ||
|
||||||
jQuery.isFunction( speed ) && speed,
|
jQuery.isFunction( speed ) && speed,
|
||||||
duration: speed,
|
duration: speed,
|
||||||
|
|
Loading…
Reference in a new issue