Fix for #1823 bug in animate {queue:false} plus a unit test.
This commit is contained in:
parent
ab96367f12
commit
1d299d375b
2 changed files with 25 additions and 1 deletions
|
@ -201,7 +201,8 @@ jQuery.extend({
|
|||
// Queueing
|
||||
opt.old = opt.complete;
|
||||
opt.complete = function(){
|
||||
jQuery(this).dequeue();
|
||||
if ( opt.queue !== false )
|
||||
jQuery(this).dequeue();
|
||||
if ( jQuery.isFunction( opt.old ) )
|
||||
opt.old.apply( this );
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue