diff --git a/CHANGELOG.md b/CHANGELOG.md index f3dee05e..709bc1f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,7 +32,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Solve an issue where module margins would appear when the first module of a section was hidden. -- Solved visual display errors on chrome, if all modules in one of the right sections are hidden +- Solved visual display errors on chrome, if all modules in one of the right sections are hidden. +- Module default config values are no longer modified when setting config values. ## [2.0.5] - 2016-09-20 diff --git a/js/module.js b/js/module.js index 4815895e..37d3f145 100644 --- a/js/module.js +++ b/js/module.js @@ -166,7 +166,7 @@ var Module = Class.extend({ * argument config obejct - Module config. */ setConfig: function (config) { - this.config = Object.assign(this.defaults, config); + this.config = Object.assign({}, this.defaults, config); }, /* socket()