From f7e8359f7b04576461359ca8a7756884b947e6ac Mon Sep 17 00:00:00 2001 From: Jeff Date: Wed, 4 May 2016 14:03:48 -0400 Subject: [PATCH] fix typo --- contrib/js/reply.js | 2 +- contrib/static/nntpchan.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/js/reply.js b/contrib/js/reply.js index 46c5d04..1044a73 100644 --- a/contrib/js/reply.js +++ b/contrib/js/reply.js @@ -354,7 +354,7 @@ function inject_hover_for_element(elem) { function init(prefix) { // inject posthover ... inject_hover_for_element(document); - if ( /\.html$/.test(document.location.pathname) && ( ! /ukko/.test(document.location.pathname)) ) { + if ( /\.html$/.test(document.location.pathname) && ! (/ukko/.test(document.location.pathname)) ) { // board / thread page console.log("not loading reply widget"); } else { diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index af28109..dd74106 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -689,7 +689,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