Unverified Commit b3d9a183 authored by bavis-m's avatar bavis-m Committed by GitHub

fix: anchor links - use MouseEvent.currentTarget (#4236)

Co-authored-by: 's avatarMark <mark@mhack.io>
parent 9f195434
...@@ -579,7 +579,7 @@ export default { ...@@ -579,7 +579,7 @@ export default {
el.onclick = ev => { el.onclick = ev => {
ev.preventDefault() ev.preventDefault()
ev.stopPropagation() ev.stopPropagation()
this.$vuetify.goTo(decodeURIComponent(ev.target.hash), this.scrollOpts) this.$vuetify.goTo(decodeURIComponent(ev.currentTarget.hash), this.scrollOpts)
} }
}) })
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment