mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Merge pull request #1146 from cederstrom/put-article-in-front-of-modules
Put article iframe in front of modules
This commit is contained in:
commit
b1ab2ce96a
@ -9,6 +9,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- Add system notification `MODULE_DOM_CREATED` for notifying each module when their Dom has been fully loaded.
|
- Add system notification `MODULE_DOM_CREATED` for notifying each module when their Dom has been fully loaded.
|
||||||
- Add types for module.
|
- Add types for module.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- News article in fullscreen (iframe) is now shown in front of modules.
|
||||||
|
|
||||||
*This release is scheduled to be released on 2018-04-01.*
|
*This release is scheduled to be released on 2018-04-01.*
|
||||||
|
|
||||||
## [2.2.2] - 2018-01-02
|
## [2.2.2] - 2018-01-02
|
||||||
|
@ -186,6 +186,7 @@ Module.register("newsfeed",{
|
|||||||
fullArticle.height = window.innerHeight;
|
fullArticle.height = window.innerHeight;
|
||||||
fullArticle.style.border = "none";
|
fullArticle.style.border = "none";
|
||||||
fullArticle.src = this.newsItems[this.activeItem].url;
|
fullArticle.src = this.newsItems[this.activeItem].url;
|
||||||
|
fullArticle.style.zIndex = 1;
|
||||||
wrapper.appendChild(fullArticle);
|
wrapper.appendChild(fullArticle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user