From bd026cdcb7628fec2e48f9b60b66adca24204c7e Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 15 Jun 2014 11:35:16 -0700 Subject: [PATCH] missed some non-CSS
hiding; remove it --- src/Filtering/ThreadHiding.coffee | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Filtering/ThreadHiding.coffee b/src/Filtering/ThreadHiding.coffee index e368a4cf7..c4d1cec6d 100755 --- a/src/Filtering/ThreadHiding.coffee +++ b/src/Filtering/ThreadHiding.coffee @@ -19,9 +19,7 @@ ThreadHiding = for root, i in nodes by 2 thread = Get.threadFromRoot root continue unless thread.isHidden - unless thread.stub - nodes[i + 1].hidden = true - else unless root.contains thread.stub + if thread.stub and root.contains thread.stub # When we come back to a page, the stub is already there. ThreadHiding.makeStub thread, root return @@ -206,5 +204,4 @@ ThreadHiding = $.rm thread.stub delete thread.stub threadRoot = thread.OP.nodes.root.parentNode - threadRoot.nextElementSibling.hidden = - threadRoot.hidden = thread.isHidden = false + threadRoot.hidden = thread.isHidden = false