]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_search.html.erb
Make close button on route dialogue return to index.
[rails.git] / app / views / layouts / _search.html.erb
index fb4f79eb66e8a039fdd75fb5857f3f47b08f9ed6..5b6806e3d8d9fa47dbd3aece8d324b863a822516 100644 (file)
@@ -9,7 +9,7 @@
   </form>
 
   <form method="GET" action="<%= directions_path %>" class="directions_form">
-    <div width="100%" align="right" style="height:30px"><%= link_to tag('span', { :class => "icon close"}), root_path, { :title => t('site.search.close_directions_title') } %></div>
+    <div width="100%" align="right" style="height:30px"><%= link_to tag('span', { :class => "icon close"}), root_path, { :title => t('site.search.close_directions_title'), :class => "directions_close" } %></div>
 
     <div class="line">
       <%= image_tag "marker-green.png", :class => 'routing_marker', :id => 'marker_from', :draggable => 'true' %>