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

Co-authored-by: Mark <mark@mhack.io>
pull/4326/merge
bavis-m 3 years ago committed by GitHub
parent 9f19543488
commit b3d9a183ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)
}
})
})

Loading…
Cancel
Save