forked from DebaucheryLibrarian/traxxx
Fixed banner background path.
This commit is contained in:
@@ -222,8 +222,8 @@ async function fetchRelease() {
|
||||
}
|
||||
|
||||
function bannerBackground() {
|
||||
return (this.release.poster && `url(/media/${this.release.poster.thumbnail})`)
|
||||
|| (this.release.covers.length > 0 && `url(/media/${this.release.covers[0].thumbnail})`);
|
||||
return (this.release.poster && this.getBgPath(this.release.poster, 'thumbnail'))
|
||||
|| (this.release.covers.length > 0 && this.getBgPath(this.release.covers[0], 'thumbnail'));
|
||||
}
|
||||
|
||||
function pageTitle() {
|
||||
|
||||
Reference in New Issue
Block a user