diff --git a/contrib/js/expand-image.js b/contrib/js/expand-image.js index 01dc373..0432434 100644 --- a/contrib/js/expand-image.js +++ b/contrib/js/expand-image.js @@ -17,6 +17,7 @@ function setupInlineImage(thumb, url) { var expanded = false; var oldurl = img.src; thumb.href = "#"; + thumb.target = ""; img.addEventListener("click", function(ev) { if (expanded) { img.setAttribute("class", "thumbnail"); diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 54a9de8..73d8fd0 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -16,7 +16,7 @@ parent.backlink=true;}};parent.backlink=true;} function inject_hover_for_element(elem){var elems=elem.getElementsByClassName("backlink");var ls=[];var l=elems.length;for(var idx=0;idx