mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2024-11-21 17:54:29 -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':
|
||||
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!');
|
||||
|
|
Loading…
Reference in a new issue