posters should use https is site is https

This commit is contained in:
j 2012-03-09 13:34:35 +01:00
parent e09fd09bdf
commit 8f05ce2e05
1 changed files with 2 additions and 2 deletions

View File

@ -682,7 +682,7 @@ pandora.ui.infoView = function(data) {
id: data['id'],
info: data.width + ' x ' + data.height + ' px',
title: ui.icons == 'posters' ? data.source : Ox.formatDuration(data.position),
url: data.url,
url: data.url.replace('http://', '//'),
width: ratio >= 1 ? size : size * ratio
}
},
@ -714,7 +714,7 @@ pandora.ui.infoView = function(data) {
return image.index == index;
})[0];
var imageRatio = selectedImage.width / selectedImage.height,
src = selectedImage.url;
src = selectedImage.url.replace('http://', '//');
if ($browserImages.length == 0) {
$browserImages = pandora.$ui.browser.find('img[src*="/' + data.id + '/"]');
}