Skip to content

Commit

Permalink
fix: anchor links - use MouseEvent.currentTarget (#4236)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark <mark@mhack.io>
  • Loading branch information
bavis-m and bavis-m authored Sep 11, 2021
1 parent 9f19543 commit b3d9a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/themes/default/components/page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ export default {
el.onclick = ev => {
ev.preventDefault()
ev.stopPropagation()
this.$vuetify.goTo(decodeURIComponent(ev.target.hash), this.scrollOpts)
this.$vuetify.goTo(decodeURIComponent(ev.currentTarget.hash), this.scrollOpts)
}
})
})
Expand Down

0 comments on commit b3d9a18

Please sign in to comment.