Skip to content
Permalink
Browse files

effects.core: Another place where args.callback was used that escaped…

… my first pass
  • Loading branch information...
gnarf authored and scottgonzalez committed Mar 11, 2011
1 parent 4ade64b commit 3f8c608691f404b750fb902e1cda45cf0135e710
Showing with 3 additions and 3 deletions.
  1. +3 −3 ui/jquery.effects.core.js
@@ -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 );
}
});
}

0 comments on commit 3f8c608

Please sign in to comment.
You can’t perform that action at this time.