Skip to content

Commit

Permalink
Merge pull request #5583 from burdittw/push-menu-passive-mode-fix
Browse files Browse the repository at this point in the history
Update push-menu.ts
  • Loading branch information
danny007in authored May 29, 2024
2 parents 0c4b2ec + 601b1bd commit d4e2adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts/push-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ onDOMContentLoaded(() => {
const target = event.currentTarget as HTMLElement
const data = new PushMenu(target, Defaults)
data.collapse()
})
}, { passive: true })
sidebarOverlay.addEventListener('click', event => {
event.preventDefault()
const target = event.currentTarget as HTMLElement
Expand Down

0 comments on commit d4e2adf

Please sign in to comment.