From dec1a3e78df96bffc5537a10bea08c84f18df0ac Mon Sep 17 00:00:00 2001 From: Jeff Date: Wed, 4 May 2016 13:06:15 -0400 Subject: [PATCH] add debugging --- contrib/js/reply.js | 1 + contrib/static/nntpchan.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/js/reply.js b/contrib/js/reply.js index b4f72fa..fa4f04a 100644 --- a/contrib/js/reply.js +++ b/contrib/js/reply.js @@ -353,6 +353,7 @@ function init(prefix) { inject_hover_for_element(document); if ( /\.html$/.test(document.location.pathname) ) { // board / thread page + console.log("not loading reply widget"); } else { // ukko / livechan page var rpl = getReplyTo(); diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 96cd855..da99d4e 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -688,7 +688,7 @@ parent.appendChild(wrapper);parent.backlink=false;},function(msg){var wrapper=do 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