From e2968dbd97e148c1332a17d05b5c0f67da868c29 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 30 Apr 2016 08:51:49 -0400 Subject: [PATCH] fix js --- contrib/js/expand-image.js | 1 - contrib/static/nntpchan.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/js/expand-image.js b/contrib/js/expand-image.js index cd50193..dad5c54 100644 --- a/contrib/js/expand-image.js +++ b/contrib/js/expand-image.js @@ -18,7 +18,6 @@ function setupInlineImage(thumb, url) { var oldurl = img.src; thumb.onclick = function() { if (expanded) { - thumb. img.setAttribute("class", "thumbnail"); img.src = oldurl; expanded = false; diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 3026503..7ef136b 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