From 2973745c7f3c0670c5154f904a1e68cf8c5bf995 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Tue, 16 Aug 2016 11:10:53 +1200 Subject: [PATCH] Fixed disconnect on connection timeout. --- js/serial_backend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/serial_backend.js b/js/serial_backend.js index 3627b8be..d759d84f 100755 --- a/js/serial_backend.js +++ b/js/serial_backend.js @@ -177,7 +177,7 @@ function onOpen(openInfo) { if (!CONFIGURATOR.connectionValid) { GUI.log(chrome.i18n.getMessage('noConfigurationReceived')); - $('div.connect_controls ').click(); // disconnect + $('div.connect_controls a.connect').click(); // disconnect } }, 10000);