Fix historial en mostrar enlace original

This commit is contained in:
k1792539
2017-08-15 15:53:40 +02:00
parent c627178009
commit 387835d5ae
5 changed files with 23 additions and 4 deletions
@@ -104,6 +104,19 @@ function image_error(thumbnail) {
};
};
function set_original_url(url){
currentWebLink = document.getElementById("current_web_link")
if (currentWebLink) {
if (url) {
currentWebLink.style.display = "block";
currentWebLink.href = url;
}
else {
currentWebLink.style.display = "none";
}
}
}
function show_images(){
var container = document.getElementById("itemlist");
var images = container.getElementsByTagName("img");