diff options
author | gnarf <gnarf@gnarf.net> | 2011-03-11 07:10:14 -0600 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-03-11 09:50:56 -0500 |
commit | 3f8c608691f404b750fb902e1cda45cf0135e710 (patch) | |
tree | 3043c53c4f684c98fb04dc329a337982fcfcaae7 /ui/jquery.effects.core.js | |
parent | 4ade64b69028178772d0b9c11fbf7165de160972 (diff) | |
download | jquery-ui-3f8c608691f404b750fb902e1cda45cf0135e710.tar.gz jquery-ui-3f8c608691f404b750fb902e1cda45cf0135e710.zip |
effects.core: Another place where args.callback was used that escaped my first pass
Diffstat (limited to 'ui/jquery.effects.core.js')
-rw-r--r-- | ui/jquery.effects.core.js | 6 |
1 files changed, 3 insertions, 3 deletions
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 ); } }); } |