app/components/blacklight/system/modal_component.html.erb in blacklight-7.20.1 vs app/components/blacklight/system/modal_component.html.erb in blacklight-7.21.0

- old
+ new

@@ -4,11 +4,11 @@ <div class="modal-header"> <%= header || (capture do %> <h1 class="modal-title"><%= title %></h1> <% end) %> - <button type="button" class="blacklight-modal-close btn-close close" data-dismiss="modal" aria-label="<%= t('blacklight.modal.close') %>"> - <span aria-hidden="true">&times;</span> + <button type="button" class="blacklight-modal-close btn-close close" data-bs-dismiss="modal" data-dismiss="modal" aria-label="<%= t('blacklight.modal.close') %>"> + <span aria-hidden="true" class="visually-hidden">&times;</span> </button> </div> <%= body || (capture do %> <div class="modal-body">