mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Added a fix for bug #1751, where the options getting overwritten for an animation was causing issues.
This commit is contained in:
parent
80a26a3266
commit
5421dfdea9
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user