aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-01-30 05:46:46 +0000
committerRichard Worth <rdworth@gmail.com>2009-01-30 05:46:46 +0000
commit55953d650a2f128764ee4679f7a69bcad98f7400 (patch)
treefc34b49a854448d27dc1021321da948c62d26ea5 /ui
parentecce15895d1e81083981ac71a6b6cf89bbad6031 (diff)
downloadjquery-ui-55953d650a2f128764ee4679f7a69bcad98f7400.tar.gz
jquery-ui-55953d650a2f128764ee4679f7a69bcad98f7400.zip
effects core: fixed undefined options error
Diffstat (limited to 'ui')
-rw-r--r--ui/effects.core.js2
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() {