mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2024-11-24 19:24:30 -08:00
attempt to fix pause_notification
This commit is contained in:
parent
d0dfab3b66
commit
bd8cc9f332
1 changed files with 2 additions and 2 deletions
|
@ -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!');
|
||||||
|
|
Loading…
Reference in a new issue