]> source.dussan.org Git - jquery-ui.git/commitdiff
Effects core: Changed callback option to complete. Fixes #4586 (Effects callback...
authorScott González <scott.gonzalez@gmail.com>
Wed, 10 Jun 2009 01:25:21 +0000 (01:25 +0000)
committerScott González <scott.gonzalez@gmail.com>
Wed, 10 Jun 2009 01:25:21 +0000 (01:25 +0000)
ui/effects.core.js

index 8509d300e7ca1a414a98e9e9594ac94b04242f72..1db8cb8426d6f1fb231a8a5ee33126915cafe2ba 100644 (file)
@@ -150,7 +150,7 @@ function _normalizeArguments(effect, options, speed, callback) {
        speed = $.fx.off ? 0 : typeof speed == 'number'
                ? speed : $.fx.speeds[speed] || $.fx.speeds._default;
 
-       callback = callback || options.callback;
+       callback = callback || options.complete;
 
        return [effect, options, speed, callback];
 }