Skip to content

Commit

Permalink
Restyled by prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Jul 29, 2021
1 parent 7aa0251 commit 700c3dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tfwmds/patterns/header-v2/_example.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 700c3dc

Please sign in to comment.