fix: use config value for rotation delay

This commit is contained in:
Kristjan ESPERANTO 2025-07-26 10:31:28 +02:00
parent cd0cad87a2
commit 5b7384c9c0
No known key found for this signature in database

View file

@ -281,7 +281,7 @@ Module.register('MMM-pages', {
} else {
Log.log(`[MMM-pages] ${stateBaseString}ing rotation`);
if (isRotating) {
this.resetTimerWithDelay(this.rotationDelay);
this.resetTimerWithDelay(this.config.rotationDelay);
} else {
clearInterval(this.timer);
clearInterval(this.delayTimer);