Skip to content

Commit

Permalink
change data-target to data-bs-target (#3596)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashton22305 authored Jun 6, 2024
1 parent ee9249c commit 63a5f36
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
link = app.link
%>
<p class="list-group-item mb-0 header">
<a href="#" class="" data-bs-toggle="collapse" data-target="<%= "#saved-settings-#{index}" %>" aria-expanded="true" aria-controls="<%= "saved-settings-#{index}" %>">
<a href="#" class="" data-bs-toggle="collapse" data-bs-target="<%= "#saved-settings-#{index}" %>" aria-expanded="true" aria-controls="<%= "saved-settings-#{index}" %>">
<%= icon_tag(link.icon_uri) unless link.icon_uri.to_s.blank? %>
<%= app.title %>
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{#if error_summary}}
<div id="{{id}}" class="alert alert-danger alert-dismissible fade show" role="alert">
<b><i class="fas fa-exclamation-triangle"></i> {{error_summary}}</b>
<button class="btn btn-outline-dark btn-sm ms-3 collapsed" type="button" data-bs-toggle="collapse" data-target="#{{id}}-error-report" aria-expanded="false" aria-controls="#{{id}}-error-report">See details</button>
<button class="btn btn-outline-dark btn-sm ms-3 collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#{{id}}-error-report" aria-expanded="false" aria-controls="#{{id}}-error-report">See details</button>
<div id="{{id}}-error-report" class="collapse">
<div class="mt-3 card">
<pre class="card-body">{{error_message}}</pre>
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<ul class="navbar-nav w-100 align-items-center" role="menubar">
<%= render partial: 'layouts/nav/logo' %>

<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/app/views/layouts/editor.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<!-- navbar -->
<nav class="navbar navbar-expand-md shadow-sm navbar-color navbar-<%= @user_configuration.navbar_type %>" role="navigation">

<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

Expand Down

0 comments on commit 63a5f36

Please sign in to comment.