Fix unhiding a post not unstrikethroughing backlinks.

This commit is contained in:
Nicolas Stepien 2012-06-24 20:59:45 +02:00
parent 03aa54457a
commit 76559de7d6
2 changed files with 2 additions and 2 deletions

View File

@ -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++) {

View File

@ -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