From 76559de7d64ed5f0555d7a05d0201695ae869017 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 24 Jun 2012 20:59:45 +0200 Subject: [PATCH] Fix unhiding a post not unstrikethroughing backlinks. --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index ec54a2ccf..6b569d06d 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -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++) { diff --git a/script.coffee b/script.coffee index c22ec6a3f..fff03d4b9 100644 --- a/script.coffee +++ b/script.coffee @@ -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