Fix webmap to look for site location under the right names.

This commit is contained in:
Oliver Jowett 2014-12-10 21:34:05 +00:00
parent 1cdfe8db27
commit f04c4d5dde

View file

@ -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;