Archived
1
0

don't inject post hover

This commit is contained in:
Jeff Becker 2017-01-16 11:32:56 -05:00
parent eabe6474de
commit 12f8ee9131

View File

@ -336,23 +336,8 @@ function inject_hover(prefix, el, parent) {
parent.backlink = true; 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) { function init(prefix) {
// inject posthover ...
inject_hover_for_element(document);
var rpl = getReplyTo(); var rpl = getReplyTo();
rpl.setPrefix(prefix); rpl.setPrefix(prefix);
rpl.setBoard(""); rpl.setBoard("");