fix player poster image css bug

This commit is contained in:
Mathias Rasmussen
2016-08-23 20:21:10 +02:00
parent 82853aa017
commit b39884e68f

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 () {