public/customJS.js
// Collapse nav when query is fired to close open nav when moving to md
Collapse nav when query is fired to close open nav when moving to md
Collapse nav when query is fired to close open nav when moving to md
function handleMdQuery(event) {
    if (event.matches) {
        nav.style.maxHeight = '0px';
        menuActive = false;
    }
}
function handleMdQuery ( event ) { if ( event . matches ) { nav . style . maxHeight = '0px' ; menuActive = false ; } }
Collapse nav when query is fired to close open nav when moving to md
Collapse nav when query is fired to close open nav when moving to md