diff --git a/src/wmcads/patterns/header/_example.js b/src/wmcads/patterns/header/_example.js index 98555e0d..3b2e612a 100755 --- a/src/wmcads/patterns/header/_example.js +++ b/src/wmcads/patterns/header/_example.js @@ -272,8 +272,9 @@ const headerJs = () => { // if top level link doesn't have a mega-menu child add class to menu to hide overlay when hovered // has to be added/removed on mouseover to cover menus that have a mix of items with/without mega menus - const isTopLevelWithMenu = topLevelListItem.querySelectorAll('.wmcads-mega-menu__container') - .length; + const isTopLevelWithMenu = topLevelListItem.querySelectorAll( + '.wmcads-mega-menu__container' + ).length; if (isTopLevelWithMenu) { topLevelLink.addEventListener('mouseover', () => {