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
1 changed files with 1 additions and 1 deletions
2
src/effects.js
vendored
2
src/effects.js
vendored
|
@ -248,7 +248,7 @@ jQuery.each({
|
|||
|
||||
jQuery.extend({
|
||||
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 ||
|
||||
jQuery.isFunction( speed ) && speed,
|
||||
duration: speed,
|
||||
|
|
Loading…
Reference in a new issue