Image fix
This commit is contained in:
1 parent
ae72271583
commit
2814c9c1cb
1 file changed
+4
-4
@@ -175,8 +175,8 @@ Block.Search.Item = new Class({
|
|||||||
'click': self.showOptions.bind(self)
|
'click': self.showOptions.bind(self)
|
||||||
}
|
}
|
||||||
}).adopt(
|
}).adopt(
|
||||||
self.thumbnail = info.images.posters.length > 0 ? new Element('img.thumbnail', {
|
self.thumbnail = info.images.poster.length > 0 ? new Element('img.thumbnail', {
|
||||||
'src': info.images.posters[0]
|
'src': info.images.poster[0]
|
||||||
}) : null,
|
}) : null,
|
||||||
new Element('div.info').adopt(
|
new Element('div.info').adopt(
|
||||||
self.title = new Element('h2', {
|
self.title = new Element('h2', {
|
||||||
@@ -279,8 +279,8 @@ Block.Search.Item = new Class({
|
|||||||
|
|
||||||
self.options.adopt(
|
self.options.adopt(
|
||||||
new Element('div').adopt(
|
new Element('div').adopt(
|
||||||
self.info.images.posters.length > 0 ? new Element('img.thumbnail', {
|
self.info.images.poster.length > 0 ? new Element('img.thumbnail', {
|
||||||
'src': self.info.images.posters[0]
|
'src': self.info.images.poster[0]
|
||||||
}) : null,
|
}) : null,
|
||||||
self.title_select = new Element('select', {
|
self.title_select = new Element('select', {
|
||||||
'name': 'title'
|
'name': 'title'
|
||||||
|
|||||||
Reference in new issue
Block a user