Fix >>>/board/id still displayed as filtered after unhiding its linked post.
This commit is contained in:
parent
ed3cc48d3f
commit
8bc82be677
@ -905,7 +905,7 @@
|
||||
table.hidden = false;
|
||||
$.rm(parent);
|
||||
id = table.firstChild.firstChild.lastChild.id;
|
||||
_ref2 = $$(".quotelink[href='#" + id + "'], .backlink[href='#" + id + "']");
|
||||
_ref2 = $$(".quotelink[href$='#" + id + "'], .backlink[href='#" + id + "']");
|
||||
for (_j = 0, _len2 = _ref2.length; _j < _len2; _j++) {
|
||||
quote = _ref2[_j];
|
||||
$.removeClass(quote, 'filtered');
|
||||
|
||||
@ -524,7 +524,7 @@ Filter =
|
||||
|
||||
node: (post) ->
|
||||
return if post.isInlined
|
||||
post.isOP = post.class is 'op'
|
||||
post.isOP = post.class is 'op'
|
||||
{isOP, el} = post
|
||||
for key of Filter.filters
|
||||
value = Filter[key] post
|
||||
@ -769,7 +769,7 @@ ReplyHiding =
|
||||
table.hidden = false
|
||||
$.rm parent
|
||||
id = table.firstChild.firstChild.lastChild.id
|
||||
for quote in $$ ".quotelink[href='##{id}'], .backlink[href='##{id}']"
|
||||
for quote in $$ ".quotelink[href$='##{id}'], .backlink[href='##{id}']"
|
||||
$.removeClass quote, 'filtered'
|
||||
delete g.hiddenReplies[id]
|
||||
$.set "hiddenReplies/#{g.BOARD}/", g.hiddenReplies
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user