From aab0d1d627438480c1fce1ebeca0876a4259a3fa Mon Sep 17 00:00:00 2001 From: Edward Shen <6173958+edward-shen@users.noreply.github.com> Date: Sun, 27 Aug 2017 02:43:31 -0400 Subject: [PATCH] fixed bug where module would not properly visibility-lock modules --- MMM-pages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MMM-pages.js b/MMM-pages.js index a7e32b3..0090787 100644 --- a/MMM-pages.js +++ b/MMM-pages.js @@ -46,13 +46,13 @@ Module.register("MMM-pages", { MM.getModules() .exceptWithClass(this.config.excludes) .exceptWithClass(this.config.modules[this.curPage]) - .enumerate(module => { module.hide(this.config.animationTime / 2, { lockstring: this.identifier }) }); + .enumerate(module => { module.hide(this.config.animationTime / 2, { lockString: this.identifier }) }); let self = this; setTimeout(function() { MM.getModules() .withClass(self.config.modules[self.curPage]) - .enumerate(module => { module.show(self.config.animationTime / 2, { lockstring: self.identifier }) }); + .enumerate(module => { module.show(self.config.animationTime / 2, { lockString: self.identifier }) }); }, this.config.animationTime / 2); } else { Log.error("Pages aren't properly defined!") } },