forked from DebaucheryLibrarian/traxxx
Added various conditions to prevent errors and warnings.
This commit is contained in:
@@ -218,7 +218,9 @@ async function fetchRelease() {
|
||||
this.release = await this.$store.dispatch('fetchMovieById', this.$route.params.releaseId);
|
||||
}
|
||||
|
||||
this.$refs.content.scrollTop = 0;
|
||||
if (this.$refs.content) {
|
||||
this.$refs.content.scrollTop = 0;
|
||||
}
|
||||
}
|
||||
|
||||
function bannerBackground() {
|
||||
|
||||
Reference in New Issue
Block a user