From f18399da4fc348ad2b3931179a3f18dbc4c3ec63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Wed, 10 Jun 2009 01:25:21 +0000 Subject: [PATCH] Effects core: Changed callback option to complete. Fixes #4586 (Effects callback should be "complete" not "callback"). --- ui/effects.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/effects.core.js b/ui/effects.core.js index 8509d300e..1db8cb842 100644 --- a/ui/effects.core.js +++ b/ui/effects.core.js @@ -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]; } -- 2.39.5