Skip to content
Permalink
Browse files

effects core: fixed undefined options error

  • Loading branch information
rdworth committed Jan 30, 2009
1 parent ecce158 commit 55953d650a2f128764ee4679f7a69bcad98f7400
Showing with 1 addition and 1 deletion.
  1. +1 −1 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() {

0 comments on commit 55953d6

Please sign in to comment.
You can’t perform that action at this time.