Skip to content
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.

Commit

Permalink
Fix webmap to look for site location under the right names.
Browse files Browse the repository at this point in the history
  • Loading branch information
mutability committed Dec 10, 2014
1 parent 1cdfe8d commit f04c4d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public_html/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ function initialize() {
// with initialization
$.getJSON('data/receiver.json')
.done(function(data) {
if (typeof data.receiverlat !== "undefined") {
if (typeof data.lat !== "undefined") {
SiteShow = true;
SiteLat = data.receiverlat;
SiteLon = data.receiverlon;
SiteLat = data.lat;
SiteLon = data.lon;
}

Dump1090Version = data.version;
Expand Down

0 comments on commit f04c4d5

Please sign in to comment.