Commit f10057bc authored by jeresig's avatar jeresig

Make sure that a clone of the animate speed properties are used to avoid...

Make sure that a clone of the animate speed properties are used to avoid recursion problems. Fixes #3583.
parent e0a9615f
...@@ -248,7 +248,7 @@ jQuery.each({ ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment