From a67625905c09f616b729b91a7aca89d71432f9b6 Mon Sep 17 00:00:00 2001 From: sam detweiler Date: Thu, 14 Dec 2023 10:05:27 -0700 Subject: [PATCH] fix file name and register and hide/show --- MMM-pages.js => MMM-Pages.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename MMM-pages.js => MMM-Pages.js (98%) diff --git a/MMM-pages.js b/MMM-Pages.js similarity index 98% rename from MMM-pages.js rename to MMM-Pages.js index 191aee5..8dc7b94 100644 --- a/MMM-pages.js +++ b/MMM-Pages.js @@ -1,4 +1,4 @@ -Module.register('MMM-pages', { +Module.register('MMM-Pages', { // We require the older style of function declaration for compatibility // reasons. @@ -218,13 +218,13 @@ Module.register('MMM-pages', { MM.getModules() .exceptWithClass(modulesToShow) - .enumerate(module => module.hide(animationTime, lockStringObj)); + .enumerate(module => module.hide(animationTime,()=>{}, lockStringObj)); // Shows all modules meant to be on the current page, after a small delay. setTimeout(() => { MM.getModules() .withClass(modulesToShow) - .enumerate(module => module.show(animationTime, lockStringObj)); + .enumerate(module => module.show(animationTime, ()=>{}, lockStringObj)); }, animationTime); },