Effects core: Changed callback option to complete. Fixes #4586 (Effects callback should be "complete" not "callback").

This commit is contained in:
Scott González 2009-06-10 01:25:21 +00:00
parent 347f86d99a
commit f18399da4f

View 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];
}