mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-04 21:22:41 +00:00
Attribute source of accessible navigation toggle script
This commit is contained in:
parent
d3c19d83fb
commit
821d523e03
@ -89,6 +89,8 @@
|
||||
</style>
|
||||
|
||||
<script defer>
|
||||
{# Accessible hamburger menu navigation script based on:
|
||||
https://accessibleweb.dev/navigation #}
|
||||
const navbarToggle = document.querySelector('.navbar__toggle');
|
||||
const navbarLinks = document.querySelector(".navbar__links");
|
||||
const navbarLinkItems = document.querySelectorAll(".navbar__links li a");
|
||||
|
Loading…
x
Reference in New Issue
Block a user