forked from 0x2620/pandora
reload poster
This commit is contained in:
parent
2305fa4d20
commit
3e151a1a86
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();
|
||||||
|
|
Loading…
Reference in a new issue