Mostafa
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
client/themes/default/components/page.vue
|
@ -564,11 +564,11 @@ export default { |
|
|
if (window.location.hash && window.location.hash.length > 1) { |
|
|
if (window.location.hash && window.location.hash.length > 1) { |
|
|
if (document.readyState === 'complete') { |
|
|
if (document.readyState === 'complete') { |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
|
this.$vuetify.goTo(window.location.hash, this.scrollOpts) |
|
|
|
|
|
|
|
|
this.$vuetify.goTo(decodeURIComponent(window.location.hash), this.scrollOpts) |
|
|
}) |
|
|
}) |
|
|
} else { |
|
|
} else { |
|
|
window.addEventListener('load', () => { |
|
|
window.addEventListener('load', () => { |
|
|
this.$vuetify.goTo(window.location.hash, this.scrollOpts) |
|
|
|
|
|
|
|
|
this.$vuetify.goTo(decodeURIComponent(window.location.hash), this.scrollOpts) |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|