From 22a40f7ee70df4df0375efeb63279b62aec2a7a9 Mon Sep 17 00:00:00 2001 From: Dante Ruiz Date: Fri, 27 Jan 2017 18:32:52 +0000 Subject: [PATCH] fixed goto bug --- scripts/system/goto.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/system/goto.js b/scripts/system/goto.js index 95bd05ae73..c3af4c7927 100644 --- a/scripts/system/goto.js +++ b/scripts/system/goto.js @@ -20,7 +20,13 @@ var toolBar = null; var tablet = null; function onAddressBarShown(visible) { - button.editProperties({isActive: visible}); + if (tablet !== null) { + if (tablet.onHomeScreen === true) { + button.editProperties({isActive: visible}); + } + } else { + button.editProperties({isActive: visible}); + } } function onClicked(){