From 4029690459d50fbba086b9188384da0260b29900 Mon Sep 17 00:00:00 2001 From: Sebastian Castro <sebastian.castro@protonmail.com> Date: Wed, 5 May 2021 17:05:01 +0200 Subject: [PATCH] i18n: fix again init map --- assets/js/element-form/init-map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/element-form/init-map.js b/assets/js/element-form/init-map.js index 259a709f9..aaacb589a 100755 --- a/assets/js/element-form/init-map.js +++ b/assets/js/element-form/init-map.js @@ -46,7 +46,7 @@ function createMarker(position) $('#input-longitude').attr('value',marker.getLatLng().lng); }); - marker.bindPopup(`<center>t('js.element_form.geocoded_marker_text')}</center>`).openPopup(); + marker.bindPopup(`<center>${t('js.element_form.geocoded_marker_text')}</center>`).openPopup(); } function fitBounds(rawbounds) -- GitLab