Skip to content

Commit

Permalink
Add data-toggle element to menu dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
xmunoz committed Jul 13, 2022
1 parent 24ea491 commit 6ca60d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/layouts/_navigation_links.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<% if current_user.admin? || current_user.data_volunteer? %>
<div class="dropdown">
<button class="btn dropdown-toggle navbar-text" type="button" id="admin-dropdown" aria-haspopup="true" aria-expanded="false">
<button class="btn dropdown-toggle navbar-text" type="button" id="admin-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<%= t('navigation.admin_tools.label') %>
</button>

Expand All @@ -26,7 +26,7 @@
<% end %>

<div class="dropdown">
<button class="btn dropdown-toggle navbar-text" type="button" id="user-dropdown" aria-haspopup="true" aria-expanded="false">
<button class="btn dropdown-toggle navbar-text" type="button" data-toggle="dropdown" id="user-dropdown" aria-haspopup="true" aria-expanded="false">
<%= current_user.name %>
</button>

Expand Down

0 comments on commit 6ca60d5

Please sign in to comment.