From 3e151a1a865a1901b17b7ffd225a5003d08a5a10 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 7 Aug 2011 18:23:20 +0200 Subject: [PATCH] reload poster --- static/js/pandora/ui/infoView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/ui/infoView.js b/static/js/pandora/ui/infoView.js index 296ff24c5..c3703928b 100644 --- a/static/js/pandora/ui/infoView.js +++ b/static/js/pandora/ui/infoView.js @@ -382,7 +382,7 @@ pandora.ui.infoView = function(data) { position: selectedImage.index // fixme: api slightly inconsistent }), function(result) { var imageRatio = selectedImage.width / selectedImage.height; - $('img[src*="/' + item + '/poster"]').each(function() { + $('img[src*="/' + data.id + '/poster"]').each(function() { var $this = $(this), size = Math.max($this.width(), $this.height()), src = $this.attr('src').split('?')[0] + '?' + Ox.uid(); @@ -458,4 +458,4 @@ pandora.ui.infoView = function(data) { return that; -} \ No newline at end of file +}