attempt to fix pause_notification

This commit is contained in:
Edward Shen 2020-04-17 13:52:37 -04:00
parent d0dfab3b66
commit bd8cc9f332
Signed by: edward
GPG key ID: 19182661E818369F

View file

@ -98,8 +98,8 @@ Module.register('MMM-pages', {
case 'PAUSE_ROTATION': case 'PAUSE_ROTATION':
if (!this.rotationPaused) { if (!this.rotationPaused) {
Log.log('[Pages]: pausing rotation due to notification'); Log.log('[Pages]: pausing rotation due to notification');
this.clearInterval(this.timer); clearInterval(this.timer);
this.clearInterval(this.delayTimer); clearInterval(this.delayTimer);
this.rotationPaused = true; this.rotationPaused = true;
} else { } else {
Log.warn('[Pages]: Was asked to paused but rotation was already paused!'); Log.warn('[Pages]: Was asked to paused but rotation was already paused!');