diff --git a/assets/js/element-form/init-map.js b/assets/js/element-form/init-map.js index 3ac945793170bee0f22d07a24f8ed8d7bd55a68f..259a709f97d647a51bebb5c6750d4dc55c642fb1 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)