diff --git a/static/app.js b/static/app.js index 72105f3..ccff27e 100644 --- a/static/app.js +++ b/static/app.js @@ -121,9 +121,12 @@ function placeLabel(data) { function render(data) { recentData = data; forecastData = null; // invalidate any forecast from a previous location/date - // Reflect the chosen place beside the Find button (which becomes "Change"). - locLabel.textContent = placeLabel(data); - locLabel.hidden = false; + // The place name appears once — as the results heading (

) below, which also + // carries the coordinates + climatology context. The top label only holds the + // transient coordinates written on selection, so hide it now that the named + // results have rendered (otherwise the name would show twice). + locLabel.hidden = true; + locLabel.textContent = ""; findBtn.innerHTML = `${window.LocationPicker.PIN_ICON} Change location`; const c = data.climatology; const cell = data.cell;