]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_id.html.erb
Use CSS rather than HTML attributes for styling.
[rails.git] / app / views / site / _id.html.erb
index db611f4286855f0603816515435f367d59525c33..7ddee6218269792a64b18bbc4301ce15945d84e3 100644 (file)
       params.background = hashParams.background;
     }
 
+    if (hashParams.comment) {
+      params.comment = hashParams.comment;
+    }
+
 <% if params[:gpx] -%>
     params.gpx = '<%= trace_data_url(params[:gpx]) %>';
 <% else -%>