Switch reverse_directions link to use a button

This makes it keyboard selectable, and also preserves the event
handler.

Refs #3637
This commit is contained in:
Andy Allan 2022-08-03 14:02:18 +01:00
parent 6b69655812
commit 08020fff63
2 changed files with 1 additions and 5 deletions

View file

@ -1288,10 +1288,6 @@ tr.turn:hover {
vertical-align: middle;
}
}
a.reverse_directions {
cursor: pointer;
}
}
/* Rules for user images */

View file

@ -47,7 +47,7 @@
</div>
<div class="row gx-2 m-1">
<div class="col offset-1">
<a class="reverse_directions"><%= t("site.search.reverse_directions_text") %></a>
<button class="btn btn-sm btn-link reverse_directions"><%= t("site.search.reverse_directions_text") %></a>
</div>
</div>