Fix unhiding a post not unstrikethroughing backlinks.
This commit is contained in:
parent
03aa54457a
commit
76559de7d6
@ -1019,7 +1019,7 @@
|
||||
button = this.parentNode;
|
||||
root = button.parentNode;
|
||||
id = root.id.slice(2);
|
||||
quotes = $$(".quotelink[href$='#p" + id + "'], .backlink[href='#p" + id + "']");
|
||||
quotes = $$(".quotelink[href$='#p" + id + "'], .backlink[href$='#p" + id + "']");
|
||||
if (/\bstub\b/.test(button.className)) {
|
||||
ReplyHiding.show(root);
|
||||
for (_i = 0, _len = quotes.length; _i < _len; _i++) {
|
||||
|
||||
@ -778,7 +778,7 @@ ReplyHiding =
|
||||
button = @parentNode
|
||||
root = button.parentNode
|
||||
id = root.id[2..]
|
||||
quotes = $$ ".quotelink[href$='#p#{id}'], .backlink[href='#p#{id}']"
|
||||
quotes = $$ ".quotelink[href$='#p#{id}'], .backlink[href$='#p#{id}']"
|
||||
if /\bstub\b/.test button.className
|
||||
ReplyHiding.show root
|
||||
for quote in quotes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user