Commit 8a97cd67 authored by John Resig's avatar John Resig

Forgot to check for the non-existance of a complete function.

parent cef11df8
...@@ -263,7 +263,7 @@ jQuery.fx = function( elem, options, prop ){ ...@@ -263,7 +263,7 @@ jQuery.fx = function( elem, options, prop ){
jQuery.setAuto( z.el, prop ); jQuery.setAuto( z.el, prop );
// If a callback was provided, execute it // 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 // Yes, this is a weird place for this, but it needs to be executed
// only once per cluster of effects. // only once per cluster of effects.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment