You can't filter recursively OPs (blame capcode replies).

This commit is contained in:
Nicolas Stepien 2012-09-13 11:36:23 +02:00
parent db3a3fbc2b
commit 5babd54cb7
2 changed files with 2 additions and 2 deletions

View File

@ -845,7 +845,7 @@
quote = _ref[_i]; quote = _ref[_i];
if ((el = $.id(quote.hash.slice(1))) && el.hidden) { if ((el = $.id(quote.hash.slice(1))) && el.hidden) {
$.addClass(quote, 'filtered'); $.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); show_stub = !!$.x('preceding-sibling::div[contains(@class,"stub")]', el);
ReplyHiding.hide(post.root, show_stub); ReplyHiding.hide(post.root, show_stub);
} }

View File

@ -697,7 +697,7 @@ StrikethroughQuotes =
for quote in post.quotes for quote in post.quotes
if (el = $.id quote.hash[1..]) and el.hidden if (el = $.id quote.hash[1..]) and el.hidden
$.addClass quote, 'filtered' $.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 show_stub = !!$.x 'preceding-sibling::div[contains(@class,"stub")]', el
ReplyHiding.hide post.root, show_stub ReplyHiding.hide post.root, show_stub
return return