]> source.dussan.org Git - jquery-ui.git/commitdiff
effects.core: Another place where args.callback was used that escaped my first pass
authorgnarf <gnarf@gnarf.net>
Fri, 11 Mar 2011 13:10:14 +0000 (07:10 -0600)
committerScott González <scott.gonzalez@gmail.com>
Fri, 11 Mar 2011 14:50:56 +0000 (09:50 -0500)
ui/jquery.effects.core.js

index 71f775aa12fe4e2e672e32748f81e761c2cb57a9..0d326954ad1b7876fc92d46882417c2528883e5d 100644 (file)
@@ -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 );
                                        }
                                });
                        }