diff --git a/Sortable.js b/Sortable.js index 4c47563..a18f95c 100644 --- a/Sortable.js +++ b/Sortable.js @@ -91,7 +91,7 @@ // Set default options for (var name in defaults) { - options[name] = options[name] || defaults[name]; + !(name in options) && (options[name] = defaults[name]); }