From 2814c9c1cbd398836c0cbde115a071d927fa0797 Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 19 Sep 2011 22:03:01 +0200 Subject: [PATCH] Image fix --- couchpotato/core/plugins/movie/static/search.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/couchpotato/core/plugins/movie/static/search.js b/couchpotato/core/plugins/movie/static/search.js index 67483115..b89f27eb 100644 --- a/couchpotato/core/plugins/movie/static/search.js +++ b/couchpotato/core/plugins/movie/static/search.js @@ -175,8 +175,8 @@ Block.Search.Item = new Class({ 'click': self.showOptions.bind(self) } }).adopt( - self.thumbnail = info.images.posters.length > 0 ? new Element('img.thumbnail', { - 'src': info.images.posters[0] + self.thumbnail = info.images.poster.length > 0 ? new Element('img.thumbnail', { + 'src': info.images.poster[0] }) : null, new Element('div.info').adopt( self.title = new Element('h2', { @@ -279,8 +279,8 @@ Block.Search.Item = new Class({ self.options.adopt( new Element('div').adopt( - self.info.images.posters.length > 0 ? new Element('img.thumbnail', { - 'src': self.info.images.posters[0] + self.info.images.poster.length > 0 ? new Element('img.thumbnail', { + 'src': self.info.images.poster[0] }) : null, self.title_select = new Element('select', { 'name': 'title'