From b0e437cc5ae06c7ad53a342fe438bf4745ed78d9 Mon Sep 17 00:00:00 2001 From: Dante Ruiz Date: Tue, 28 Mar 2017 18:14:05 +0100 Subject: [PATCH] remove help button from tablet when reloading scripts --- scripts/system/help.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system/help.js b/scripts/system/help.js index ac411a8622..a335b2ef9c 100644 --- a/scripts/system/help.js +++ b/scripts/system/help.js @@ -56,7 +56,7 @@ }, POLL_RATE); Script.scriptEnding.connect(function () { - if (onUserScreen) { + if (onHelpScreen) { tablet.gotoHomeScreen(); } button.clicked.disconnect(onClicked);