mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2024-11-21 01:34:28 -08:00
Fix rotationDelay impacting page change
This commit is contained in:
parent
ea93426f9e
commit
fbfcc8e799
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ Module.register('MMM-pages', {
|
||||||
if (this.config.modules.length !== 0) {
|
if (this.config.modules.length !== 0) {
|
||||||
this.animatePageChange();
|
this.animatePageChange();
|
||||||
if (!this.rotationPaused) {
|
if (!this.rotationPaused) {
|
||||||
this.resetTimerWithDelay(this.config.rotationDelay);
|
this.resetTimerWithDelay(0);
|
||||||
}
|
}
|
||||||
this.sendNotification('NEW_PAGE', this.curPage);
|
this.sendNotification('NEW_PAGE', this.curPage);
|
||||||
} else { Log.error("[Pages]: Pages aren't properly defined!"); }
|
} else { Log.error("[Pages]: Pages aren't properly defined!"); }
|
||||||
|
|
Loading…
Reference in a new issue