Merge pull request #1704 from Hg347/develop

Develop
This commit is contained in:
Michael Teeuw 2019-06-15 13:27:21 +02:00 committed by GitHub
commit cd1671830a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Only update clock once per minute when seconds aren't shown
### Fixed
- fixed uncaught exception, race condition on module update
- fixed issue [#1696](https://github.com/MichMich/MagicMirror/issues/1696), some ical files start date to not parse to date type
- Allowance HTML5 autoplay-policy (policy is changed from Chrome 66 updates)
- Handle SIGTERM messages

View File

@ -203,6 +203,7 @@ var MM = (function() {
*/
var updateModuleContent = function(module, newHeader, newContent) {
var moduleWrapper = document.getElementById(module.identifier);
if (moduleWrapper === null) return;
var headerWrapper = moduleWrapper.getElementsByClassName("module-header");
var contentWrapper = moduleWrapper.getElementsByClassName("module-content");