From 7ac6f89af973427bd57ba8d9e95913620d477789 Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Sat, 23 Dec 2017 22:22:36 -0500 Subject: [PATCH] Only set ble active flag if on ble --- app/www/static/js/intval.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/www/static/js/intval.core.js b/app/www/static/js/intval.core.js index 1aafceb..a43fb4d 100644 --- a/app/www/static/js/intval.core.js +++ b/app/www/static/js/intval.core.js @@ -173,7 +173,7 @@ var setState = function (res) { if (res.sequence == true) { STATE.sequence = true; - mobile.ble.active = true; + if (mobile.ble) mobile.ble.active = true; seqState(true); } };