Fix Recursive Filtering and strikethroughing quotes.
This commit is contained in:
parent
145a6ef581
commit
bce07659a0
@ -745,10 +745,10 @@
|
|||||||
_ref = post.quotes;
|
_ref = post.quotes;
|
||||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||||
quote = _ref[_i];
|
quote = _ref[_i];
|
||||||
if ((el = $.id(quote.hash.slice(1))) && el.parentNode.parentNode.parentNode.hidden) {
|
if ((el = $.id(quote.hash.slice(1))) && el.hidden) {
|
||||||
$.addClass(quote, 'filtered');
|
$.addClass(quote, 'filtered');
|
||||||
if (Conf['Recursive Filtering']) {
|
if (Conf['Recursive Filtering']) {
|
||||||
ReplyHiding.hide(post.root);
|
ReplyHiding.hide(post.root.firstElementChild);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -599,9 +599,9 @@ StrikethroughQuotes =
|
|||||||
node: (post) ->
|
node: (post) ->
|
||||||
return if post.isInlined
|
return if post.isInlined
|
||||||
for quote in post.quotes
|
for quote in post.quotes
|
||||||
if (el = $.id quote.hash[1..]) and el.parentNode.parentNode.parentNode.hidden
|
if (el = $.id quote.hash[1..]) and el.hidden
|
||||||
$.addClass quote, 'filtered'
|
$.addClass quote, 'filtered'
|
||||||
ReplyHiding.hide post.root if Conf['Recursive Filtering']
|
ReplyHiding.hide post.root.firstElementChild if Conf['Recursive Filtering']
|
||||||
return
|
return
|
||||||
|
|
||||||
ExpandComment =
|
ExpandComment =
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user