Update URL
This commit is contained in:
@@ -94,7 +94,7 @@ function focus_element(element) {
|
|||||||
function image_error(thumbnail) {
|
function image_error(thumbnail) {
|
||||||
var src = thumbnail.src;
|
var src = thumbnail.src;
|
||||||
if (thumbnail.src.indexOf(domain) == 0) {
|
if (thumbnail.src.indexOf(domain) == 0) {
|
||||||
thumbnail.src = "http://media.tvalacarta.info/pelisalacarta/thumb_folder2.png";
|
thumbnail.src = "https://github.com/alfa-addon/addon/raw/master/plugin.video.alfa/resources/media/general/default/thumb_folder.png";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
thumbnail.src = domain + "/proxy/" + encodeURIComponent(btoa(thumbnail.src));
|
thumbnail.src = domain + "/proxy/" + encodeURIComponent(btoa(thumbnail.src));
|
||||||
@@ -235,4 +235,4 @@ function auto_scroll(element) {
|
|||||||
|
|
||||||
function center_window(el) {
|
function center_window(el) {
|
||||||
el.style.top = document.getElementById("window").offsetHeight / 2 - el.offsetHeight / 2 + "px";
|
el.style.top = document.getElementById("window").offsetHeight / 2 - el.offsetHeight / 2 + "px";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user