diff options
author | Richard Worth <rdworth@gmail.com> | 2009-01-30 05:46:46 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2009-01-30 05:46:46 +0000 |
commit | 55953d650a2f128764ee4679f7a69bcad98f7400 (patch) | |
tree | fc34b49a854448d27dc1021321da948c62d26ea5 /ui | |
parent | ecce15895d1e81083981ac71a6b6cf89bbad6031 (diff) | |
download | jquery-ui-55953d650a2f128764ee4679f7a69bcad98f7400.tar.gz jquery-ui-55953d650a2f128764ee4679f7a69bcad98f7400.zip |
effects core: fixed undefined options error
Diffstat (limited to 'ui')
-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() { |