From 248dcba2e6f41fb311f8727872ab3ac192d74172 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Wed, 19 Apr 2017 11:15:34 -0400 Subject: [PATCH] hide topic too --- contrib/static/overchan.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/contrib/static/overchan.js b/contrib/static/overchan.js index 11e43f9..e247ca3 100644 --- a/contrib/static/overchan.js +++ b/contrib/static/overchan.js @@ -176,6 +176,10 @@ onready(function() { for (var idx = 0; idx < es.length ; idx ++ ) { hide_elem(es[idx]); } + es = elem.getElementsByClassName("topicline"); + for (var idx = 0; idx < es.length ; idx ++ ) { + hide_elem(es[idx]); + } elem.dataset.userhide = "yes"; elem.setHideLabel("[show]"); }; @@ -207,6 +211,10 @@ onready(function() { for (var idx = 0; idx < es.length ; idx ++ ) { unhide_elem(es[idx]); } + es = elem.getElementsByClassName("topicline"); + for (var idx = 0; idx < es.length ; idx ++ ) { + unhide_elem(es[idx]); + } elem.dataset.userhide = "no"; elem.setHideLabel("[hide]"); };