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