Skip to content

Commit

Permalink
bs5 menu dropdowns updates
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdmayhew committed Oct 10, 2024
1 parent 67c5bb5 commit 7d8a5cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/catalog/_search_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<%= t('hyrax.search.button.html') %>
</button>
<% if current_user %>
<button class="btn btn-secondary dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false">
<button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">

<span class="sr-only" data-search-element="label"><%= t("hyrax.search.form.option.all.label_long", application_name: application_name) %></span>
<span aria-hidden="true"><%= t("hyrax.search.form.option.all.label_short") %></span>
Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/_locale_picker.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-controls="language-dropdown-menu">
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-controls="language-dropdown-menu">
<span class="sr-only"><%= t('hyrax.toolbar.language_switch') %></span>
<span title="<%= t('hyrax.toolbar.language_switch') %>"><%= available_translations[I18n.locale.to_s] %></span>
</a>
Expand Down

0 comments on commit 7d8a5cd

Please sign in to comment.