From 5babd54cb77ff4d5764703a80009aa2217ed9963 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Thu, 13 Sep 2012 11:36:23 +0200 Subject: [PATCH] You can't filter recursively OPs (blame capcode replies). --- 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 462cae0d8..b4f095dd6 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -845,7 +845,7 @@ quote = _ref[_i]; if ((el = $.id(quote.hash.slice(1))) && el.hidden) { $.addClass(quote, 'filtered'); - if (Conf['Recursive Filtering']) { + if (Conf['Recursive Filtering'] && post.ID !== post.threadID) { show_stub = !!$.x('preceding-sibling::div[contains(@class,"stub")]', el); ReplyHiding.hide(post.root, show_stub); } diff --git a/script.coffee b/script.coffee index 8c012aa78..a233311fe 100644 --- a/script.coffee +++ b/script.coffee @@ -697,7 +697,7 @@ StrikethroughQuotes = for quote in post.quotes if (el = $.id quote.hash[1..]) and el.hidden $.addClass quote, 'filtered' - if Conf['Recursive Filtering'] + if Conf['Recursive Filtering'] and post.ID isnt post.threadID show_stub = !!$.x 'preceding-sibling::div[contains(@class,"stub")]', el ReplyHiding.hide post.root, show_stub return