mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2025-07-27 04:03:37 -07:00
fix: use config value for rotation delay
This commit is contained in:
parent
cd0cad87a2
commit
5b7384c9c0
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ Module.register('MMM-pages', {
|
||||||
} else {
|
} else {
|
||||||
Log.log(`[MMM-pages] ${stateBaseString}ing rotation`);
|
Log.log(`[MMM-pages] ${stateBaseString}ing rotation`);
|
||||||
if (isRotating) {
|
if (isRotating) {
|
||||||
this.resetTimerWithDelay(this.rotationDelay);
|
this.resetTimerWithDelay(this.config.rotationDelay);
|
||||||
} else {
|
} else {
|
||||||
clearInterval(this.timer);
|
clearInterval(this.timer);
|
||||||
clearInterval(this.delayTimer);
|
clearInterval(this.delayTimer);
|
||||||
|
|
Loading…
Reference in a new issue