1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

removing another trace of connectionId

This commit is contained in:
cTn 2014-01-18 12:09:12 +01:00
parent 64fe1d7b05
commit 6643e248b9

View file

@ -26,7 +26,7 @@ $(document).ready(function() {
var 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 || configuration_received == false) { // if there is no active connection, return
if (configuration_received == false) { // if there is no active connection, return
notify('You need to connect before you can view any of the tabs', 'red');
return;
}