Clean up SVG rendering. Use the new flightfeeder key in status.json
This commit is contained in:
parent
d40e69ee42
commit
fddb2298ee
3 changed files with 13 additions and 43 deletions
|
|
@ -1632,7 +1632,7 @@ function toggleLayer(element, layer) {
|
|||
function flightFeederCheck() {
|
||||
$.ajax('/status.json', {
|
||||
success: function(data) {
|
||||
if (typeof data.serial !== 'undefined') {
|
||||
if (data.type === "flightfeeder") {
|
||||
isFlightFeeder = true;
|
||||
updatePiAwareOrFlightFeeder();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue