Archived
1
0

hide topic too

This commit is contained in:
Jeff Becker 2017-04-19 11:15:34 -04:00
parent e6e2ed4705
commit 248dcba2e6

View File

@ -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]");
};