effects.core: Another place where args.callback was used that escaped my first pass

This commit is contained in:
gnarf 2011-03-11 07:10:14 -06:00 committed by Scott González
parent 4ade64b690
commit 3f8c608691

View File

@ -509,11 +509,11 @@ $.fn.extend({
if ( $.fx.off || !effectMethod ) {
// delegate to the original method (e.g., .show()) if possible
if ( mode ) {
return this[ mode ]( args.duration, args.callback );
return this[ mode ]( args.duration, args.complete );
} else {
return this.each( function() {
if ( args.callback ) {
args.callback.call( this );
if ( args.complete ) {
args.complete.call( this );
}
});
}