Skip to content
Permalink
Browse files

Effects core: Changed callback option to complete. Fixes #4586 (Effec…

…ts callback should be "complete" not "callback").
  • Loading branch information...
scottgonzalez committed Jun 10, 2009
1 parent 347f86d commit f18399da4fc348ad2b3931179a3f18dbc4c3ec63
Showing with 1 addition and 1 deletion.
  1. +1 −1 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];
}

0 comments on commit f18399d

Please sign in to comment.
You can’t perform that action at this time.