X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a70b61315c2331c18123a0b36782d6ef6bb3ab3e..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 -%>