X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1eab367de5950af5396756dbf09cc9bd3edc3b8f..501d13e1c0936cc3ba3d9639620517bae34e5784:/app/views/site/_id.html.erb diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index db611f428..7ddee6218 100644 --- a/app/views/site/_id.html.erb +++ b/app/views/site/_id.html.erb @@ -26,6 +26,10 @@ params.background = hashParams.background; } + if (hashParams.comment) { + params.comment = hashParams.comment; + } + <% if params[:gpx] -%> params.gpx = '<%= trace_data_url(params[:gpx]) %>'; <% else -%>