diff options
author | Corey Frang <gnarf@gnarf.net> | 2012-10-21 16:46:38 -0500 |
---|---|---|
committer | Corey Frang <gnarf@gnarf.net> | 2012-10-21 16:46:57 -0500 |
commit | 8b76684a92d7340175284bb369426f0164673b0a (patch) | |
tree | 1809727e4d81b76d52c0a29c5bace971eddfe93a /ui/jquery.ui.effect.js | |
parent | fd9b355a8e4f4a18b719905004a4ac346be691bb (diff) | |
download | jquery-ui-8b76684a92d7340175284bb369426f0164673b0a.tar.gz jquery-ui-8b76684a92d7340175284bb369426f0164673b0a.zip |
Effects: Allow 'null' for options - Fixes #8670 - null reference when using effects - Closes gh-783
Diffstat (limited to 'ui/jquery.ui.effect.js')
-rw-r--r-- | ui/jquery.ui.effect.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.effect.js b/ui/jquery.ui.effect.js index 65108e7ba..3fb428c1a 100644 --- a/ui/jquery.ui.effect.js +++ b/ui/jquery.ui.effect.js @@ -1054,8 +1054,8 @@ function _normalizeArguments( effect, options, speed, callback ) { // convert to an object effect = { effect: effect }; - // catch (effect) - if ( options === undefined ) { + // catch (effect, null, ...) + if ( options == null ) { options = {}; } |