aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/jquery.effects.core.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js
index 6024c36b0..71f775aa1 100644
--- a/ui/jquery.effects.core.js
+++ b/ui/jquery.effects.core.js
@@ -447,6 +447,11 @@ function _normalizeArguments( effect, options, speed, callback ) {
// convert to an object
effect = { effect: effect };
+ // catch (effect)
+ if ( options === undefined ) {
+ options = {};
+ }
+
// catch (effect, callback)
if ( $.isFunction( options ) ) {
callback = options;