mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Update module.js
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user