X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Ffx.js;h=116711ff1957354275fb735a72e1239a6f2dbff8;hb=6b535eb79fdb65df1e16997fa73e57cfcb806bbe;hp=37c4680f186b9f76640dbc72984b8a7773294e54;hpb=d44c5025c42645a6e2b6e664b689669c3752b236;p=jquery.git diff --git a/src/fx.js b/src/fx.js index 37c4680..116711f 100644 --- a/src/fx.js +++ b/src/fx.js @@ -81,7 +81,7 @@ jQuery.fn.extend({ for ( p in prop ) { if ( prop[p] == "hide" && hidden || prop[p] == "show" && !hidden ) - return jQuery.isFunction(opt.complete) && opt.complete.call(this); + return opt.complete.call(this); if ( p == "height" || p == "width" ) { // Store display property @@ -379,7 +379,7 @@ jQuery.fx.prototype = { } // If a callback was provided, execute it - if ( done && jQuery.isFunction( this.options.complete ) ) + if ( done ) // Execute the complete function this.options.complete.call( this.elem );