mirror of
https://github.com/sstent/StuTracker.git
synced 2026-02-06 09:31:37 +00:00
Update index.html
This commit is contained in:
@@ -108,9 +108,9 @@
|
|||||||
|
|
||||||
if (updateTime) {
|
if (updateTime) {
|
||||||
var timeDifference = getTimeDifference(updateTime);
|
var timeDifference = getTimeDifference(updateTime);
|
||||||
document.getElementById('banner').innerText = `Last updated: ${timeDifference} minutes ago`;
|
document.getElementById('banner').innerText = `StuTracker - Location Last updated: ${timeDifference} minutes ago`;
|
||||||
} else {
|
} else {
|
||||||
document.getElementById('banner').innerText = 'Update time not found in KML file';
|
document.getElementById('banner').innerText = 'StuTracker - Update time not found';
|
||||||
}
|
}
|
||||||
|
|
||||||
var kmlLayer = omnivore.kml(kmlUrl, null, L.geoJSON(null, {
|
var kmlLayer = omnivore.kml(kmlUrl, null, L.geoJSON(null, {
|
||||||
|
|||||||
Reference in New Issue
Block a user