mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2024-11-24 11:14:29 -08:00
lets stick to the same variable syntax in logs
This commit is contained in:
parent
79d4327a5a
commit
b70550447a
1 changed files with 2 additions and 2 deletions
|
@ -283,9 +283,9 @@ Module.register('MMM-pages', {
|
|||
pauseRotation: function (pause) {
|
||||
var stateBaseString = (pause) ? "paus" : "resum";
|
||||
if (pause === this.rotationPaused) {
|
||||
Log.warn('[Pages]: Was asked to ' + stateBaseString + 'e but rotation is already ' + stateBaseString + 'ed!');
|
||||
Log.warn(`[Pages]: Was asked to ${stateBaseString}e but rotation is already ${stateBaseString}ed!`);
|
||||
} else {
|
||||
Log.log('[Pages]: ' + stateBaseString + 'ing rotation');
|
||||
Log.log(`[Pages]: ${stateBaseString}ing rotation`);
|
||||
if (pause) {
|
||||
clearInterval(this.timer);
|
||||
clearInterval(this.delayTimer);
|
||||
|
|
Loading…
Reference in a new issue