fix player poster image css bug
This commit is contained in:
@@ -607,7 +607,7 @@ function cssBackgroundImagePoster (state) {
|
|||||||
var torrentSummary = state.getPlayingTorrentSummary()
|
var torrentSummary = state.getPlayingTorrentSummary()
|
||||||
var posterPath = TorrentSummary.getPosterPath(torrentSummary)
|
var posterPath = TorrentSummary.getPosterPath(torrentSummary)
|
||||||
if (!posterPath) return ''
|
if (!posterPath) return ''
|
||||||
return cssBackgroundImageDarkGradient() + `, url(${posterPath})`
|
return cssBackgroundImageDarkGradient() + `, url('${posterPath}')`
|
||||||
}
|
}
|
||||||
|
|
||||||
function cssBackgroundImageDarkGradient () {
|
function cssBackgroundImageDarkGradient () {
|
||||||
|
|||||||
Reference in New Issue
Block a user