From a853bd5e8e511731c011a8fe2a15801444297e79 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Thu, 27 Feb 2014 17:54:14 +0100 Subject: [PATCH] Make hiding threads on all threads index mode faster. #1484 --- src/Filtering/PostHiding.coffee | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Filtering/PostHiding.coffee b/src/Filtering/PostHiding.coffee index 50e92615a..4a92f8ec9 100644 --- a/src/Filtering/PostHiding.coffee +++ b/src/Filtering/PostHiding.coffee @@ -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()