diff --git a/public_html/script.js b/public_html/script.js index 83aa95e81..8cbbc2ac2 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -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;