mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
effects.core: Another place where args.callback was used that escaped my first pass
This commit is contained in:
parent
4ade64b690
commit
3f8c608691
6
ui/jquery.effects.core.js
vendored
6
ui/jquery.effects.core.js
vendored
@ -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 );
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user