Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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() { |
|
|