mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-01-24 05:48:00 -05:00
effects core: fixed undefined options error
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user