From b70550447aa52ce99d0269f5b44d8b873e79eedc Mon Sep 17 00:00:00 2001 From: skuethe Date: Thu, 5 Nov 2020 23:06:23 +0100 Subject: [PATCH] lets stick to the same variable syntax in logs --- MMM-pages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MMM-pages.js b/MMM-pages.js index bd6d7c7..ea745a7 100644 --- a/MMM-pages.js +++ b/MMM-pages.js @@ -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);