From 700c3dcbb59484714a8a18b30f3ecd35d5018d53 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 29 Jul 2021 16:50:02 +0000 Subject: [PATCH] Restyled by prettier --- src/tfwmds/patterns/header-v2/_example.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tfwmds/patterns/header-v2/_example.js b/src/tfwmds/patterns/header-v2/_example.js index 267fe4bde..e1e086145 100644 --- a/src/tfwmds/patterns/header-v2/_example.js +++ b/src/tfwmds/patterns/header-v2/_example.js @@ -278,8 +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', () => {