diff --git a/public-frontend/src/components/stars.vue b/public-frontend/src/components/stars.vue index 49d197e..fe9be80 100644 --- a/public-frontend/src/components/stars.vue +++ b/public-frontend/src/components/stars.vue @@ -13,6 +13,7 @@ export default { mounted() { this.circles = this.getRandomCircles(window.location.pathname == "/"); this.$router.afterEach((to) => { + document.body.scrollTop = 0; this.circles = []; this.$nextTick(() => { this.circles = this.getRandomCircles(to.path == "/");