Reflect the stub filter parameter in recursive filtering.
This commit is contained in:
parent
7d3a687b5a
commit
02ac826003
@ -717,7 +717,7 @@
|
||||
return Main.callbacks.push(this.node);
|
||||
},
|
||||
node: function(post) {
|
||||
var el, quote, _i, _len, _ref;
|
||||
var el, quote, show_stub, _i, _len, _ref;
|
||||
if (post.isInlined) {
|
||||
return;
|
||||
}
|
||||
@ -727,7 +727,8 @@
|
||||
if ((el = $.id(quote.hash.slice(1))) && el.hidden) {
|
||||
$.addClass(quote, 'filtered');
|
||||
if (Conf['Recursive Filtering']) {
|
||||
ReplyHiding.hide(post.root);
|
||||
show_stub = !!$.x('preceding-sibling::div[contains(@class,"stub")]', el);
|
||||
ReplyHiding.hide(post.root, show_stub);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -564,7 +564,9 @@ StrikethroughQuotes =
|
||||
for quote in post.quotes
|
||||
if (el = $.id quote.hash[1..]) and el.hidden
|
||||
$.addClass quote, 'filtered'
|
||||
ReplyHiding.hide post.root if Conf['Recursive Filtering']
|
||||
if Conf['Recursive Filtering']
|
||||
show_stub = !!$.x 'preceding-sibling::div[contains(@class,"stub")]', el
|
||||
ReplyHiding.hide post.root, show_stub
|
||||
return
|
||||
|
||||
ExpandComment =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user