mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 12:12:20 +00:00
send NEWS_FEED notification also for the first newsmessage which are shown
This commit is contained in:
parent
94c0656bcd
commit
11c9a50931
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user