From 5300218cf6a55a121679216523075972ea5b10a2 Mon Sep 17 00:00:00 2001 From: Sebastian Castro <sebastian.castro@protonmail.com> Date: Tue, 4 May 2021 18:10:43 +0200 Subject: [PATCH] i18n: fix 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 3ac945793..259a709f9 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