From 6fd0fcfdb527d9c0d8902a8d9e8333561673e058 Mon Sep 17 00:00:00 2001 From: Andreas Date: Mon, 31 Oct 2016 20:10:52 +0100 Subject: [PATCH 1/2] Update module.js --- js/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() From e7493c38d1234f29043c476bcad3c26256adf146 Mon Sep 17 00:00:00 2001 From: Andreas Date: Mon, 31 Oct 2016 20:16:55 +0100 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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