Scrolling release page up when browsing to movie.

This commit is contained in:
DebaucheryLibrarian
2021-02-02 22:45:10 +01:00
parent 92ba264cff
commit 8337ce8dbd
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
<template>
<div
v-if="release"
ref="content"
class="content"
>
<Scroll
@@ -217,6 +218,8 @@ async function fetchRelease() {
if (this.$route.name === 'movie') {
this.release = await this.$store.dispatch('fetchMovieById', this.$route.params.releaseId);
}
this.$refs.content.scrollTop = 0;
}
function bannerBackground() {