mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Removed 'null' setting
This commit is contained in:
@@ -144,7 +144,7 @@ var MM = (function() {
|
|||||||
var moduleWrapper = document.getElementById(module.identifier);
|
var moduleWrapper = document.getElementById(module.identifier);
|
||||||
var contentWrapper = moduleWrapper.getElementsByClassName("module-content")[0];
|
var contentWrapper = moduleWrapper.getElementsByClassName("module-content")[0];
|
||||||
|
|
||||||
contentWrapper.innerHTML = null;
|
contentWrapper.innerHTML = "";
|
||||||
contentWrapper.appendChild(content);
|
contentWrapper.appendChild(content);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user