X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d31fc7c2f5c0f43b9e65479e3f1690bdd0c2fb4a..78d6bde4850a09a7cd9cb5774f394fd64680d664:/app/assets/javascripts/index.js?ds=sidebyside 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')