diff options
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 c90bf8b02..182eb6ce1 100644 --- a/ui/effects.core.js +++ b/ui/effects.core.js @@ -157,7 +157,7 @@ $.fn.extend({ // New effect methods effect: function(fx, options, speed, callback) { - return $.effects[fx] ? $.effects[fx].call(this, {method: fx, options: options, duration: speed, callback: callback }) : null; + return $.effects[fx] ? $.effects[fx].call(this, {method: fx, options: options || {}, duration: speed, callback: callback }) : null; }, show: function() { |