1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-20 23:05:15 +03:00

Merge pull request #220 from mikeller/fix_timeout_disconnect

Fixed disconnect on connection timeout.
This commit is contained in:
Michael Keller 2016-08-16 11:12:58 +12:00 committed by GitHub
commit 698d3c1b3b

View file

@ -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);