1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 16:25:22 +03:00

better handling of wrong baud rate

+ some tiny UI changes due to the #content change for mac os x which
kinda broke the "floating" tabs hack with absolute position
This commit is contained in:
cTn 2013-04-13 02:32:35 +02:00
parent b477d1511a
commit b892fcb376
3 changed files with 18 additions and 22 deletions

View file

@ -4,7 +4,7 @@ $(document).ready(function() {
tabs = $('#tabs > ul');
$('a', tabs).click(function() {
if ($(this).parent().hasClass('active') == false) { // only initialize when the tab isn't already active
if (connectionId < 1) { // if there is no active connection, return
if (connectionId < 1 || configuration_received == false) { // if there is no active connection, return
return;
}