forked from 0x2620/pandora
posters should use https is site is https
This commit is contained in:
parent
e09fd09bdf
commit
8f05ce2e05
1 changed files with 2 additions and 2 deletions
|
@ -682,7 +682,7 @@ pandora.ui.infoView = function(data) {
|
||||||
id: data['id'],
|
id: data['id'],
|
||||||
info: data.width + ' x ' + data.height + ' px',
|
info: data.width + ' x ' + data.height + ' px',
|
||||||
title: ui.icons == 'posters' ? data.source : Ox.formatDuration(data.position),
|
title: ui.icons == 'posters' ? data.source : Ox.formatDuration(data.position),
|
||||||
url: data.url,
|
url: data.url.replace('http://', '//'),
|
||||||
width: ratio >= 1 ? size : size * ratio
|
width: ratio >= 1 ? size : size * ratio
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -714,7 +714,7 @@ pandora.ui.infoView = function(data) {
|
||||||
return image.index == index;
|
return image.index == index;
|
||||||
})[0];
|
})[0];
|
||||||
var imageRatio = selectedImage.width / selectedImage.height,
|
var imageRatio = selectedImage.width / selectedImage.height,
|
||||||
src = selectedImage.url;
|
src = selectedImage.url.replace('http://', '//');
|
||||||
if ($browserImages.length == 0) {
|
if ($browserImages.length == 0) {
|
||||||
$browserImages = pandora.$ui.browser.find('img[src*="/' + data.id + '/"]');
|
$browserImages = pandora.$ui.browser.find('img[src*="/' + data.id + '/"]');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue