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