From 55953d650a2f128764ee4679f7a69bcad98f7400 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Fri, 30 Jan 2009 05:46:46 +0000 Subject: [PATCH] effects core: fixed undefined options error --- ui/effects.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.39.5