diff --git a/umap/static/umap/js/umap.popup.js b/umap/static/umap/js/umap.popup.js index 0ab65b1e..035a7501 100644 --- a/umap/static/umap/js/umap.popup.js +++ b/umap/static/umap/js/umap.popup.js @@ -324,7 +324,7 @@ U.PopupTemplate.OSM = U.PopupTemplate.Default.extend({ L.DomUtil.element('a', { href: `mailto:${email}`, textContent: email }) ) } - const id = props['@id'] + const id = props['@id'] || props['id'] if (id) { L.DomUtil.add( 'div',