mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-23 13:24:06 +00:00
send NEWS_FEED notification also for the first newsmessage which are shown
This commit is contained in:
@@ -327,6 +327,11 @@ Module.register("newsfeed",{
|
|||||||
|
|
||||||
self.updateDom(self.config.animationSpeed);
|
self.updateDom(self.config.animationSpeed);
|
||||||
|
|
||||||
|
// Broadcast NewsFeed if needed
|
||||||
|
if (self.config.broadcastNewsFeeds) {
|
||||||
|
self.sendNotification("NEWS_FEED", {items: self.newsItems});
|
||||||
|
}
|
||||||
|
|
||||||
timer = setInterval(function() {
|
timer = setInterval(function() {
|
||||||
self.activeItem++;
|
self.activeItem++;
|
||||||
self.updateDom(self.config.animationSpeed);
|
self.updateDom(self.config.animationSpeed);
|
||||||
|
Reference in New Issue
Block a user