forgot to send out page change notification

This commit is contained in:
Edward Shen 2018-08-21 11:53:39 -04:00
parent 3282c2e5b6
commit 5549c484f1
No known key found for this signature in database
GPG key ID: 4E887A42793D0433

View file

@ -177,6 +177,7 @@ Module.register('MMM-pages', {
this.delayTimer = setTimeout(() => { this.delayTimer = setTimeout(() => {
self.timer = setInterval(() => { self.timer = setInterval(() => {
self.sendNotification('PAGE_INCREMENT');
self.changePageBy(1); self.changePageBy(1);
self.updatePages(); self.updatePages();
}, self.config.rotationTime); }, self.config.rotationTime);