aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.effects.transfer.js
diff options
context:
space:
mode:
authorgnarf <gnarf@gnarf.net>2011-06-21 01:15:42 -0500
committergnarf <gnarf@gnarf.net>2011-06-21 01:18:11 -0500
commit65a6c46e5568c43a9df9505e23da6a766814557e (patch)
tree63087dadabc63382d06c369062644fc64d252f5f /ui/jquery.effects.transfer.js
parent1c1a3b1a361d90a73755fbd038b3cdfb0960c29f (diff)
downloadjquery-ui-65a6c46e5568c43a9df9505e23da6a766814557e.tar.gz
jquery-ui-65a6c46e5568c43a9df9505e23da6a766814557e.zip
Effects.*: Style Guidance
Diffstat (limited to 'ui/jquery.effects.transfer.js')
-rw-r--r--ui/jquery.effects.transfer.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/jquery.effects.transfer.js b/ui/jquery.effects.transfer.js
index 061882fec..0c840c35c 100644
--- a/ui/jquery.effects.transfer.js
+++ b/ui/jquery.effects.transfer.js
@@ -39,7 +39,9 @@ $.effects.effect.transfer = function( o, next ) {
})
.animate( animation, o.duration, o.easing, function() {
transfer.remove();
- $.isFunction( o.complete ) && o.complete.apply(elem[0], arguments);
+ if ( $.isFunction( o.complete ) ) {
+ o.complete.apply( elem[0], arguments );
+ }
next();
});
};