From b40a79a9f4e2ea30fea17cfa18edf721d5d1c224 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 11 Mar 2012 14:52:59 +0100 Subject: [PATCH] Use ReplyHiding when Recursively Filtering. This will add stubs when the option is enabled. --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 0898eab0c..1282af981 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -709,7 +709,7 @@ quote = _ref[_i]; if ((el = $.id(quote.hash.slice(1))) && el.parentNode.parentNode.parentNode.hidden) { $.addClass(quote, 'filtered'); - if (conf['Recursive Filtering']) post.root.hidden = true; + if (conf['Recursive Filtering']) ReplyHiding.hide(post.root); } } } diff --git a/script.coffee b/script.coffee index 84eb0dffa..068fee957 100644 --- a/script.coffee +++ b/script.coffee @@ -617,7 +617,7 @@ StrikethroughQuotes = for quote in post.quotes if (el = $.id quote.hash[1..]) and el.parentNode.parentNode.parentNode.hidden $.addClass quote, 'filtered' - post.root.hidden = true if conf['Recursive Filtering'] + ReplyHiding.hide post.root if conf['Recursive Filtering'] return ExpandComment =