From: gnarf Date: Fri, 11 Mar 2011 13:10:14 +0000 (-0600) Subject: effects.core: Another place where args.callback was used that escaped my first pass X-Git-Tag: 1.9m5~232 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3f8c608691f404b750fb902e1cda45cf0135e710;p=jquery-ui.git effects.core: Another place where args.callback was used that escaped my first pass --- diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js index 71f775aa1..0d326954a 100644 --- a/ui/jquery.effects.core.js +++ b/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 ); } }); }