X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1596713871672cc319b0d68b51a3698cc6bf0972..6d124f801224ee441dbb7e67b912b8689cab6dfb:/app/assets/javascripts/index/search.js diff --git a/app/assets/javascripts/index/search.js b/app/assets/javascripts/index/search.js index a87c561d2..b829b582c 100644 --- a/app/assets/javascripts/index/search.js +++ b/app/assets/javascripts/index/search.js @@ -74,7 +74,7 @@ OSM.Search = function(map) { if (!marker) { var data = $(this).find("a.set_position").data(); - marker = L.marker([data.lat, data.lon], {icon: getUserIcon()}); + marker = L.marker([data.lat, data.lon], {icon: OSM.getUserIcon()}); $(this).data("marker", marker); }