diff --git a/js/plugin.js b/js/plugin.js index 7d15e41..708eefe 100644 --- a/js/plugin.js +++ b/js/plugin.js @@ -46,7 +46,7 @@ export default class BasePlugin * @param {object} options */ static set defaultOptions(options) { - DEFAULT_OPTIONS[this.name] = $.extend(true, DEFAULT_OPTIONS[this.name], options); + DEFAULT_OPTIONS[this.name] = $.extend(true, {}, DEFAULT_OPTIONS[this.name], options); } /**