diff --git a/MMM-pages.js b/MMM-pages.js index 06d9649..6b9b51e 100644 --- a/MMM-pages.js +++ b/MMM-pages.js @@ -212,13 +212,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); },