reload poster
This commit is contained in:
parent
bfcb489c5c
commit
a1abf5c606
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue