Skip to content

Commit

Permalink
Update main-nav.js
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenhitchon committed Jul 26, 2023
1 parent 5a42e63 commit 7bcb2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/main-nav/main-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Navigation {
const isOutsideNav = !this.mainNavElement.contains(event.target)

if (isOutsideNav) {
this.saveElements(event)
// this.saveElements(event)
this.toggleSubNavDesktop(true)
event.preventDefault()
}
Expand Down

0 comments on commit 7bcb2c2

Please sign in to comment.