Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fkakatie authored Jul 30, 2024
1 parent dfe221a commit 980829d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ function toggleMenu(nav, navSections, forceExpanded = null) {
drop.removeEventListener('focus', focusNavSection);
});
}
// enable menu collapse on escape keypress

// enable menu collapse on escape keypress
if (!expanded || isDesktop.matches) {
// collapse menu on escape press
window.addEventListener('keydown', closeOnEscape);
Expand Down

0 comments on commit 980829d

Please sign in to comment.