reload poster

This commit is contained in:
j 2011-08-07 18:23:20 +02:00
parent bfcb489c5c
commit a1abf5c606

View file

@ -382,7 +382,7 @@ pandora.ui.infoView = function(data) {
position: selectedImage.index // fixme: api slightly inconsistent position: selectedImage.index // fixme: api slightly inconsistent
}), function(result) { }), function(result) {
var imageRatio = selectedImage.width / selectedImage.height; var imageRatio = selectedImage.width / selectedImage.height;
$('img[src*="/' + item + '/poster"]').each(function() { $('img[src*="/' + data.id + '/poster"]').each(function() {
var $this = $(this), var $this = $(this),
size = Math.max($this.width(), $this.height()), size = Math.max($this.width(), $this.height()),
src = $this.attr('src').split('?')[0] + '?' + Ox.uid(); src = $this.attr('src').split('?')[0] + '?' + Ox.uid();
@ -458,4 +458,4 @@ pandora.ui.infoView = function(data) {
return that; return that;
} }