From 9f19543488834763812f473211178cbf6fa030be Mon Sep 17 00:00:00 2001 From: Mostafa Date: Sat, 11 Sep 2021 14:04:17 -0700 Subject: [PATCH] fix: add missing decodeURIComponent while page load (#4244) --- client/themes/default/components/page.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/themes/default/components/page.vue b/client/themes/default/components/page.vue index b02c40e8..0795271f 100644 --- a/client/themes/default/components/page.vue +++ b/client/themes/default/components/page.vue @@ -564,11 +564,11 @@ export default { if (window.location.hash && window.location.hash.length > 1) { if (document.readyState === 'complete') { this.$nextTick(() => { - this.$vuetify.goTo(window.location.hash, this.scrollOpts) + this.$vuetify.goTo(decodeURIComponent(window.location.hash), this.scrollOpts) }) } else { window.addEventListener('load', () => { - this.$vuetify.goTo(window.location.hash, this.scrollOpts) + this.$vuetify.goTo(decodeURIComponent(window.location.hash), this.scrollOpts) }) } }