Update used Bootstrap JS version and fixed navbar toggler
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jim Martens 2023-09-27 23:05:37 +02:00
parent 3fca418646
commit ae2c781a07
2 changed files with 5 additions and 5 deletions

View File

@ -54,6 +54,6 @@
src="https://code.jquery.com/jquery-3.7.0.min.js"
integrity="sha256-2Pmvv0kuTBOenSvLm6bvfBSSHrUJ+3A7x6P5Ebd07/g="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<noscript><link rel="stylesheet" href="/assets/css/main.css" type="text/css"></noscript>

View File

@ -7,8 +7,8 @@
{{ site.title }}
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
@ -31,8 +31,8 @@
{% if page.url == item.link or page.parent_link == item.link %}
<nav id="submenuNavbar" class="navbar navbar-expand-lg navbar-light fixed-top">
<div class="container">
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#subnavbarSupportedContent" aria-controls="subnavbarSupportedContent"
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#subnavbarSupportedContent" aria-controls="subnavbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>