X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1779347849622ade2abf4926a2db867d69f72033..6659fb9b33503ee6519f89131a8a4b5fef515bcd:/app/views/site/_id.html.erb diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index c31ea23dc..fe9d569aa 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 %>' + hash); <% else %>