From: Andy Allan Date: Thu, 22 Dec 2022 09:56:56 +0000 (+0000) Subject: Use buttons for dropdown toggles X-Git-Tag: live~1370^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/f78c032b073d6350df093f4729473e0034a96bc6?ds=sidebyside;hp=fb9219a52fdc3160358c4ffa8bbe26cd817b007c Use buttons for dropdown toggles These elements don't link to another page, and so there's no need to use a link that leads to nowhere. --- diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index e4f640e35..a66715a75 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -18,7 +18,7 @@ :class => "btn btn-outline-primary geolink editlink", :id => "editanchor", :data => { :editor => preferred_editor } %> - +