Permalink
Browse files
effects core: fixed undefined options error
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+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