chore: tidy up markup

This commit is contained in:
Cory Dransfeldt 2024-06-20 09:35:31 -07:00
parent ee9b7aa778
commit ebd98b1f34
No known key found for this signature in database
4 changed files with 4 additions and 10 deletions

View file

@ -2,7 +2,7 @@ window.addEventListener('load', () => {
const menuInput = document.getElementById('menu-toggle')
const menuLabelText = document.getElementById('menu-label-text')
const menuButtonContainer = document.querySelector('.menu-button-container')
const menuItems = document.querySelectorAll('.menu-primary li[role="menu-item"]')
const menuItems = document.querySelectorAll('.menu-primary li')
const isMobile = () => window.innerWidth <= 768
const udpateMenuState = () => {