Make hiding threads on all threads index mode faster. #1484
This commit is contained in:
parent
2924711db4
commit
a853bd5e8e
@ -58,6 +58,11 @@ PostHiding =
|
||||
PostHiding.saveHiddenState post
|
||||
return if post.isReply
|
||||
Index.updateHideLabel()
|
||||
if Conf['Index Mode'] is 'all pages' # ssllooooww
|
||||
root = post.nodes.root.parentNode
|
||||
$.rm root.nextElementSibling
|
||||
$.rm root
|
||||
return
|
||||
Index.sort()
|
||||
Index.buildIndex()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user