Skip to content

Commit 3f8c608

Browse files
gnarfscottgonzalez
authored andcommitted
effects.core: Another place where args.callback was used that escaped my first pass
1 parent 4ade64b commit 3f8c608

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/jquery.effects.core.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -509,11 +509,11 @@ $.fn.extend({
509509
if ( $.fx.off || !effectMethod ) {
510510
// delegate to the original method (e.g., .show()) if possible
511511
if ( mode ) {
512-
return this[ mode ]( args.duration, args.callback );
512+
return this[ mode ]( args.duration, args.complete );
513513
} else {
514514
return this.each( function() {
515-
if ( args.callback ) {
516-
args.callback.call( this );
515+
if ( args.complete ) {
516+
args.complete.call( this );
517517
}
518518
});
519519
}

0 commit comments

Comments
 (0)