mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-02 22:08:42 +00:00
Merge pull request #366 from KirAsh4/upstream-dev
Removed 'null' setting
This commit is contained in:
commit
1bb72262ba
@ -11,6 +11,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Edit Alert Module to display title & message if they are provided in the notification (Issue #300)
|
- Edit Alert Module to display title & message if they are provided in the notification (Issue #300)
|
||||||
|
- Removed 'null' reference from updateModuleContent(). This fixes recent Edge and Internet Explorer browser displays (Issue #319)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Added default string to calendar titleReplace.
|
- Added default string to calendar titleReplace.
|
||||||
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user