From ad676b14a17334c5424284038be3291197b64d58 Mon Sep 17 00:00:00 2001 From: Howard Stearns Date: Thu, 27 Sep 2018 16:06:55 -0700 Subject: [PATCH] doh - return with a newline (and no semicolon) does not continue. Don't need extra handler in marketplace any more. --- scripts/modules/appUi.js | 3 +-- scripts/system/marketplaces/marketplaces.js | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/modules/appUi.js b/scripts/modules/appUi.js index 19208ba7ab..d5ab3f32ba 100644 --- a/scripts/modules/appUi.js +++ b/scripts/modules/appUi.js @@ -42,8 +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 - that.currentVisibleUrl && + return that.currentVisibleUrl && ((that.home.indexOf(that.currentVisibleUrl) > -1) || (that.additionalAppScreens.indexOf(that.currentVisibleUrl) > -1)); }; diff --git a/scripts/system/marketplaces/marketplaces.js b/scripts/system/marketplaces/marketplaces.js index 4cbc8c489a..f36679a4b6 100644 --- a/scripts/system/marketplaces/marketplaces.js +++ b/scripts/system/marketplaces/marketplaces.js @@ -1016,9 +1016,6 @@ var onQmlMessageReceived = function onQmlMessageReceived(message) { SEND_ASSET_PARTICLE_TIMER_UPDATE); } break; - case 'goToMarketplaceMainPage': - openMarketplace(); - break; case 'http.request': // Handled elsewhere, don't log. break;