From b3d9a183eaa9bc6c4079d582d8f8e5320513ef44 Mon Sep 17 00:00:00 2001 From: bavis-m Date: Sat, 11 Sep 2021 14:05:14 -0700 Subject: [PATCH] fix: anchor links - use MouseEvent.currentTarget (#4236) Co-authored-by: Mark --- client/themes/default/components/page.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/themes/default/components/page.vue b/client/themes/default/components/page.vue index 0795271f..42d0b2c5 100644 --- a/client/themes/default/components/page.vue +++ b/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) } }) })