Browse Source
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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
client/themes/default/components/page.vue
|
|
@ -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) |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|