From 6fdae83f1b5865893dc6692b72ab5a4de5ab1c08 Mon Sep 17 00:00:00 2001 From: Howard Stearns Date: Wed, 26 Sep 2018 14:59:53 -0700 Subject: [PATCH] fix recent refactoring bug --- scripts/modules/appUi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/modules/appUi.js b/scripts/modules/appUi.js index dab377911b..19208ba7ab 100644 --- a/scripts/modules/appUi.js +++ b/scripts/modules/appUi.js @@ -42,7 +42,7 @@ function AppUi(properties) { that.additionalAppScreens = []; that.checkIsOpen = function checkIsOpen(type, tabletUrl) { // Are we active? Value used to set isOpen. // Actual url may have prefix or suffix. - return (type === that.currentVisibleScreenType) && + return that.currentVisibleUrl && ((that.home.indexOf(that.currentVisibleUrl) > -1) || (that.additionalAppScreens.indexOf(that.currentVisibleUrl) > -1));