X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=fx%2Ffx.js;h=e8474a8c2a8f8afc4a35326a12fc9a819d8eb3ea;hb=4531ab13243f5e94e1ecfbd55e992842666d08aa;hp=34c0e26f1be6ed644a930b46452d3b97c3669cac;hpb=d25d393a33fafe0598ba1ed1f7d240c3e2883b2a;p=jquery.git diff --git a/fx/fx.js b/fx/fx.js index 34c0e26..e8474a8 100644 --- a/fx/fx.js +++ b/fx/fx.js @@ -263,7 +263,7 @@ jQuery.fx = function( elem, options, prop ){ jQuery.setAuto( z.el, prop ); // If a callback was provided, execute it - if( z.o.complete.constructor == Function ) { + if( z.o.complete && z.o.complete.constructor == Function ) { // Yes, this is a weird place for this, but it needs to be executed // only once per cluster of effects.