Fix for #237
authorBrandon Aaron <brandon.aaron@gmail.com>
Tue, 10 Oct 2006 17:48:43 +0000 (17:48 +0000)
committerBrandon Aaron <brandon.aaron@gmail.com>
Tue, 10 Oct 2006 17:48:43 +0000 (17:48 +0000)
src/fx/fx.js

index eee69de..6444986 100644 (file)
@@ -315,7 +315,7 @@ jQuery.fn.extend({
        animate: function(prop,speed,callback) {
                return this.queue(function(){
                
-                       this.curAnim = prop;
+                       this.curAnim = jQuery.extend({}, prop);
                        
                        for ( var p in prop ) {
                                var e = new jQuery.fx( this, jQuery.speed(speed,callback), p );