Skip to content
Permalink
Browse files

Make sure that a clone of the animate speed properties are used to av…

…oid recursion problems. Fixes #3583.
  • Loading branch information
jeresig committed Sep 24, 2010
1 parent e0a9615 commit f10057bc481753d92ebfb8dfcef5197af5d76972
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/effects.js
@@ -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,

0 comments on commit f10057b

Please sign in to comment.
You can’t perform that action at this time.