X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a7e67846a77722885b583a0f00ffe58b634e7eb3..720c8d0e357b2867b9c0fec27006caec3fed0b23:/app/views/site/_id.html.erb diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index fe9d569aa..e2f783731 100644 --- a/app/views/site/_id.html.erb +++ b/app/views/site/_id.html.erb @@ -19,7 +19,7 @@ hash = '#map=' + (coord.zoom || 17) + '/' + coord.lon + '/' + coord.lat } - $('#id-embed').attr('src', '<%= id_url %>' + hash); + $('#id-embed').attr('src', '<%= id_url :locale => params[:locale] %>' + hash); <% else %>