diff --git a/4chan_x.user.js b/4chan_x.user.js index 96fbcfe08..7cc063e91 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -902,7 +902,7 @@ quote.href = "res/" + href; } id = reply.id.slice(2); - link = $('.postInfo > .postNum > a[title="Highlight this post"]', reply); + link = $('.postNum > a[title="Highlight this post"]', reply); link.href = "res/" + threadID + "#p" + id; link.nextSibling.href = "res/" + threadID + "#q" + id; nodes.push(reply); @@ -1374,7 +1374,7 @@ }, qr: function(thread, quote) { if (quote) { - QR.quote.call($('.postInfo > .postNum > a[title="Quote this post"]', $('.post.highlight', thread) || thread)); + QR.quote.call($('.postNum > a[title="Quote this post"]', $('.post.highlight', thread) || thread)); } else { QR.open(); } diff --git a/script.coffee b/script.coffee index 99786ad35..17c00eabe 100644 --- a/script.coffee +++ b/script.coffee @@ -690,7 +690,7 @@ ExpandThread = continue if href[0] is '/' # Cross-board quote quote.href = "res/#{href}" # Fix pathnames id = reply.id[2..] - link = $ '.postInfo > .postNum > a[title="Highlight this post"]', reply + link = $ '.postNum > a[title="Highlight this post"]', reply link.href = "res/#{threadID}#p#{id}" link.nextSibling.href = "res/#{threadID}#q#{id}" nodes.push reply @@ -1014,7 +1014,7 @@ Keybinds = qr: (thread, quote) -> if quote - QR.quote.call $ '.postInfo > .postNum > a[title="Quote this post"]', $('.post.highlight', thread) or thread + QR.quote.call $ '.postNum > a[title="Quote this post"]', $('.post.highlight', thread) or thread else QR.open() $('textarea', QR.el).focus()