We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d44c502 commit 6b535ebCopy full SHA for 6b535eb
src/fx.js
@@ -81,7 +81,7 @@ jQuery.fn.extend({
81
82
for ( p in prop ) {
83
if ( prop[p] == "hide" && hidden || prop[p] == "show" && !hidden )
84
- return jQuery.isFunction(opt.complete) && opt.complete.call(this);
+ return opt.complete.call(this);
85
86
if ( p == "height" || p == "width" ) {
87
// Store display property
@@ -379,7 +379,7 @@ jQuery.fx.prototype = {
379
}
380
381
// If a callback was provided, execute it
382
- if ( done && jQuery.isFunction( this.options.complete ) )
+ if ( done )
383
// Execute the complete function
384
this.options.complete.call( this.elem );
385
0 commit comments