]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/_trace.html.erb
Remove simulating clicks on <a> when <li> is clicked
[rails.git] / app / views / traces / _trace.html.erb
index 184570499dbca6228b01c1b6f031949d11f1de64..72794355bc447185d4d9243c714d6f8a49112e13 100644 (file)
@@ -2,7 +2,7 @@
   <td>
     <% if Settings.status != "gpx_offline" %>
       <% if trace.inserted %>
   <td>
     <% if Settings.status != "gpx_offline" %>
       <% if trace.inserted %>
-        <%= link_to image_tag(trace_icon_path(trace.user, trace), :alt => ""), show_trace_path(trace.user, trace) %>
+        <%= link_to image_tag(trace_icon_path(trace.user, trace), :alt => "", :class => "trace_image"), show_trace_path(trace.user, trace) %>
       <% else %>
         <span class="text-danger"><%= t ".pending" %></span>
       <% end %>
       <% else %>
         <span class="text-danger"><%= t ".pending" %></span>
       <% end %>