diff --git a/src/tfwmds/patterns/header-v2/_example.js b/src/tfwmds/patterns/header-v2/_example.js index 610a9f197..e1e086145 100644 --- a/src/tfwmds/patterns/header-v2/_example.js +++ b/src/tfwmds/patterns/header-v2/_example.js @@ -278,7 +278,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('.tfwmds-mega-menu__container').length; + const isTopLevelWithMenu = topLevelListItem.querySelectorAll( + '.tfwmds-mega-menu__container' + ).length; if (isTopLevelWithMenu) { topLevelLink.addEventListener('mouseover', () => {