X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cfbb80d2d491dcb282896c85efd6cce035a0707c..5c0aeb1558a778cd5790be5e062c2df7d9b51da6:/app/views/site/_id.html.erb diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index c31ea23dc..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_iframe' + hash); + $('#id-embed').attr('src', '<%= id_url :locale => params[:locale] %>' + hash); <% else %>