Skip to content

Commit

Permalink
effects.core: Another place where args.callback was used that escaped…
Browse files Browse the repository at this point in the history
… my first pass
  • Loading branch information
gnarf authored and scottgonzalez committed Mar 11, 2011
1 parent 4ade64b commit 3f8c608
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/jquery.effects.core.js
Expand Up @@ -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 );
}
});
}
Expand Down

0 comments on commit 3f8c608

Please sign in to comment.