Clean up SVG rendering. Use the new flightfeeder key in status.json

This commit is contained in:
James Wilson 2017-02-10 12:18:13 -06:00
parent d40e69ee42
commit fddb2298ee
3 changed files with 13 additions and 43 deletions

View file

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