diff --git a/debian/changelog b/debian/changelog index c9d5ec5..19a3446 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ dump1090-mutability (1.08.2302.14+1mu-7) UNRELEASED; urgency=medium lets dump1090 tolerate occasional USB glitches that make the dongle reset itself. * Fix some of the more glaring pthread bugs. + * Center the webmap on the receiver location. + * Mark config.js as a conffile, so user changes won't get overwritten. -- Oliver Jowett Fri, 02 Jan 2015 22:27:44 +0000 diff --git a/debian/dump1090-mutability.conffiles b/debian/dump1090-mutability.conffiles new file mode 100644 index 0000000..dd0d217 --- /dev/null +++ b/debian/dump1090-mutability.conffiles @@ -0,0 +1 @@ +usr/share/dump1090-mutability/html/config.js diff --git a/public_html/script.js b/public_html/script.js index 1216fb4..2d95fb5 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -60,6 +60,8 @@ function initialize() { SiteShow = true; SiteLat = data.lat; SiteLon = data.lon; + CONST_CENTERLAT = data.lat; + CONST_CENTERLON = data.lon; } Dump1090Version = data.version;