diff --git a/CHANGELOG.md b/CHANGELOG.md index 829faf6a..d6a5daf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - 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 - Added default string to calendar titleReplace. diff --git a/js/main.js b/js/main.js index 2c2f9520..5df6d755 100644 --- a/js/main.js +++ b/js/main.js @@ -144,7 +144,7 @@ var MM = (function() { var moduleWrapper = document.getElementById(module.identifier); var contentWrapper = moduleWrapper.getElementsByClassName("module-content")[0]; - contentWrapper.innerHTML = null; + contentWrapper.innerHTML = ""; contentWrapper.appendChild(content); };