Whenever I click a marker, there's an odd list of previously clicked popups in a Leaflet project I'm going through, made with QGIS and PostgreSQL, which adds the currently clicked popup to the last element of the list.
I tried being redundant and adding 'autoClose: true' to bindPopup() but to no avail. What I expect is to find a way to clear the old one when the new one is clicked.