missed some non-CSS <hr> hiding; remove it
This commit is contained in:
parent
424922623c
commit
bd026cdcb7
@ -19,9 +19,7 @@ ThreadHiding =
|
|||||||
for root, i in nodes by 2
|
for root, i in nodes by 2
|
||||||
thread = Get.threadFromRoot root
|
thread = Get.threadFromRoot root
|
||||||
continue unless thread.isHidden
|
continue unless thread.isHidden
|
||||||
unless thread.stub
|
if thread.stub and root.contains thread.stub
|
||||||
nodes[i + 1].hidden = true
|
|
||||||
else unless root.contains thread.stub
|
|
||||||
# When we come back to a page, the stub is already there.
|
# When we come back to a page, the stub is already there.
|
||||||
ThreadHiding.makeStub thread, root
|
ThreadHiding.makeStub thread, root
|
||||||
return
|
return
|
||||||
@ -206,5 +204,4 @@ ThreadHiding =
|
|||||||
$.rm thread.stub
|
$.rm thread.stub
|
||||||
delete thread.stub
|
delete thread.stub
|
||||||
threadRoot = thread.OP.nodes.root.parentNode
|
threadRoot = thread.OP.nodes.root.parentNode
|
||||||
threadRoot.nextElementSibling.hidden =
|
threadRoot.hidden = thread.isHidden = false
|
||||||
threadRoot.hidden = thread.isHidden = false
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user