diff --git a/CHANGELOG.md b/CHANGELOG.md index b1f6071a..659dd6ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +======= ## [2.4.0] - Unreleased (Current Develop Branch) *This release is scheduled to be released on 2018-07-01.* @@ -24,6 +25,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Changed - Upgrade to Electron 2.0.0. - Remove yarn-or-npm which breaks production builds. +- Invoke module suspend even if no dom content. [#1308](https://github.com/MichMich/MagicMirror/issues/1308) ### Fixed - Fixed issue where wind chill could not be displayed in Fahrenheit. [#1247](https://github.com/MichMich/MagicMirror/issues/1247) diff --git a/js/main.js b/js/main.js index daf31cee..7ec9b5f3 100644 --- a/js/main.js +++ b/js/main.js @@ -245,6 +245,9 @@ var MM = (function() { if (typeof callback === "function") { callback(); } }, speed); + } else { + // invoke callback even if no content, issue 1308 + if (typeof callback === "function") { callback(); } } };