fix: anchor links - use MouseEvent.currentTarget (#4236)
Co-authored-by: Mark <mark@mhack.io>
This commit is contained in:
parent
9f19543488
commit
b3d9a183ea
@ -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)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user