Merge pull request #821 from feross/m/fix-poster-image

fix player poster image css bug
This commit is contained in:
Feross Aboukhadijeh
2016-08-24 01:21:53 +02:00
committed by GitHub

View File

@@ -607,7 +607,7 @@ function cssBackgroundImagePoster (state) {
var torrentSummary = state.getPlayingTorrentSummary()
var posterPath = TorrentSummary.getPosterPath(torrentSummary)
if (!posterPath) return ''
return cssBackgroundImageDarkGradient() + `, url(${posterPath})`
return cssBackgroundImageDarkGradient() + `, url('${posterPath}')`
}
function cssBackgroundImageDarkGradient () {