X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d31fc7c2f5c0f43b9e65479e3f1690bdd0c2fb4a..5da715756d385851fb4614f8345ca9699a7ed34f:/app/assets/javascripts/index.js diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 5190277c9..e46ca6d9d 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -75,7 +75,10 @@ $(document).ready(function () { L.control.locate({ position: position, - title: I18n.t('javascripts.map.locate.title') + strings: { + title: I18n.t('javascripts.map.locate.title'), + popup: I18n.t('javascripts.map.locate.popup') + } }).addTo(map); var sidebar = L.OSM.sidebar('#map-ui')