diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-06-10 01:25:21 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-06-10 01:25:21 +0000 |
commit | f18399da4fc348ad2b3931179a3f18dbc4c3ec63 (patch) | |
tree | f2a0889516335282ecf607f1b2ad16c890be15a3 /ui/effects.core.js | |
parent | 347f86d99a0b2e4052819a660a99ade14bd0f17e (diff) | |
download | jquery-ui-f18399da4fc348ad2b3931179a3f18dbc4c3ec63.tar.gz jquery-ui-f18399da4fc348ad2b3931179a3f18dbc4c3ec63.zip |
Effects core: Changed callback option to complete. Fixes #4586 (Effects callback should be "complete" not "callback").
Diffstat (limited to 'ui/effects.core.js')
-rw-r--r-- | ui/effects.core.js | 2 |
1 files changed, 1 insertions, 1 deletions
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]; } |