Skip to main content

Bug Tracker

Side navigation

Ticket #1751: 1751.diff


File 1751.diff, 0.6 KB (added by davidserduke, October 01, 2007 09:44PM UTC)
Index: src/fx.js
===================================================================
--- src/fx.js	(revision 3501)
+++ src/fx.js	(working copy)
@@ -66,10 +66,10 @@
 	},
 	
 	animate: function( prop, speed, easing, callback ) {
-		var opt = jQuery.speed(speed, easing, callback);
+		var optall = jQuery.speed(speed, easing, callback);
 
-		return this[ opt.queue === false ? "each" : "queue" ](function(){
-			opt = jQuery.extend({}, opt);
+		return this[ optall.queue === false ? "each" : "queue" ](function(){
+			var opt = jQuery.extend({}, optall);
 			var hidden = jQuery(this).is(":hidden"), self = this;
 			
 			for ( var p in prop ) {

Download in other formats:

Original Format