From bd8cc9f33266b93404077ec9b353d20eaedadc0e Mon Sep 17 00:00:00 2001 From: Edward Shen Date: Fri, 17 Apr 2020 13:52:37 -0400 Subject: [PATCH] attempt to fix pause_notification --- MMM-pages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MMM-pages.js b/MMM-pages.js index d395464..1907cdd 100644 --- a/MMM-pages.js +++ b/MMM-pages.js @@ -98,8 +98,8 @@ Module.register('MMM-pages', { case 'PAUSE_ROTATION': if (!this.rotationPaused) { Log.log('[Pages]: pausing rotation due to notification'); - this.clearInterval(this.timer); - this.clearInterval(this.delayTimer); + clearInterval(this.timer); + clearInterval(this.delayTimer); this.rotationPaused = true; } else { Log.warn('[Pages]: Was asked to paused but rotation was already paused!');