From: Scott González Date: Wed, 10 Jun 2009 01:25:21 +0000 (+0000) Subject: Effects core: Changed callback option to complete. Fixes #4586 (Effects callback... X-Git-Tag: 1.8a1~100 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f18399da4fc348ad2b3931179a3f18dbc4c3ec63;p=jquery-ui.git Effects core: Changed callback option to complete. Fixes #4586 (Effects callback should be "complete" not "callback"). --- 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]; }