aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.effects.core.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.effects.core.js')
-rw-r--r--ui/jquery.effects.core.js6
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 );
}
});
}