diff --git a/MMM-pages.js b/MMM-pages.js index 1960329..afdc3fe 100644 --- a/MMM-pages.js +++ b/MMM-pages.js @@ -149,7 +149,7 @@ Module.register('MMM-pages', { * numbers. */ changePageBy: function (amt, fallback) { - if (typeof amt !== 'number') { + if (typeof amt !== 'number' && typeof fallback === 'undefined') { Log.warn(`[Pages]: ${amt} is not a number!`); }