From b0dfdfbed9c7900ff391fee1aa21afd8821256bc Mon Sep 17 00:00:00 2001 From: Uskompuf <22492406+Uskompuf@users.noreply.github.com> Date: Tue, 12 Oct 2021 17:52:38 +1100 Subject: [PATCH] notes fixed --- js/tracker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/tracker.js b/js/tracker.js index 8bcc847..fcbf4bf 100644 --- a/js/tracker.js +++ b/js/tracker.js @@ -935,10 +935,10 @@ function showLaunchSites() { popupContent += "
Know when this site launches? Contribute here"; popupContent += "
"; } else { - if (json[key].hasOwnProperty('notes')) { + popupContent = "" + json[key].station_name + "

Sondes launched: " + sondesList; + if (json[key].hasOwnProperty('notes')) { popupContent += "
Notes: " + json[key]["notes"]; } - popupContent = "" + json[key].station_name + "

Sondes launched: " + sondesList; popupContent += "
Know when this site launches? Contribute here"; } popup.setContent(popupContent);