Skip to content
Permalink
Browse files

Added a fix for bug #1751, where the options getting overwritten for …

…an animation was causing issues.
  • Loading branch information
jeresig committed Oct 18, 2007
1 parent 80a26a3 commit 5421dfdea9c72598ecf1187aa03cd8d2b1e5578d
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/fx.js
@@ -66,10 +66,10 @@ jQuery.fn.extend({
},

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 ) {

0 comments on commit 5421dfd

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