diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js index 6024c36b0f..71f775aa12 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;