Merge pull request #1146 from cederstrom/put-article-in-front-of-modules

Put article iframe in front of modules
This commit is contained in:
Michael Teeuw 2018-01-21 11:33:22 +01:00 committed by GitHub
commit b1ab2ce96a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

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

View File

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