Merge pull request #1309 from sdetweil/fix_suspend

invoke callback for suspend notification, even if no dom content
This commit is contained in:
Michael Teeuw 2018-06-08 13:21:40 +02:00 committed by GitHub
commit 8808031e7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -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)

View File

@ -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(); }
}
};