From 12f8ee9131b539215a234a3bb84d7ca6c6f60c27 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Mon, 16 Jan 2017 11:32:56 -0500 Subject: [PATCH] don't inject post hover --- contrib/js/nntpchan/reply.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/contrib/js/nntpchan/reply.js b/contrib/js/nntpchan/reply.js index 342b0c3..41c4441 100644 --- a/contrib/js/nntpchan/reply.js +++ b/contrib/js/nntpchan/reply.js @@ -336,23 +336,8 @@ function inject_hover(prefix, el, parent) { parent.backlink = true; } -// inject post hover for all backlinks in an element -function inject_hover_for_element(elem) { - var elems = elem.getElementsByClassName("postno"); - var ls = []; - var l = elems.length; - for ( var idx = 0 ; idx < l ; idx ++ ) { - var e = elems[idx]; - ls.push(e); - } - for( var elem in ls ) { - inject_hover(prefix, ls[elem]); - } -} function init(prefix) { - // inject posthover ... - inject_hover_for_element(document); var rpl = getReplyTo(); rpl.setPrefix(prefix); rpl.setBoard("");