git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cef11df
)
Forgot to check for the non-existance of a complete function.
author
John Resig
<jeresig@gmail.com>
Tue, 4 Jul 2006 01:23:46 +0000
(
01:23
+0000)
committer
John Resig
<jeresig@gmail.com>
Tue, 4 Jul 2006 01:23:46 +0000
(
01:23
+0000)
fx/fx.js
patch
|
blob
|
history
diff --git
a/fx/fx.js
b/fx/fx.js
index
34c0e26
..
e8474a8
100644
(file)
--- 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.