mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-10-05 01:44:18 +00:00
Effects core: Changed callback option to complete. Fixes #4586 (Effects callback should be "complete" not "callback").
This commit is contained in:
parent
347f86d99a
commit
f18399da4f
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user