From 0ad0510bd3a6eaa15b6885a9be097f0f5e497a0e Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Fri, 25 May 2012 20:15:21 +0200 Subject: [PATCH] Actually fix quote resurrection of existing posts. --- 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 52b0d111a..dca8736db 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3345,7 +3345,7 @@ nodes.push(a = $.el('a', { textContent: "" + quote + "\u00A0(Dead)" })); - if (board === g.BOARD && $.id("#p" + id)) { + if (board === g.BOARD && $.id("p" + id)) { a.href = "#p" + id; a.className = 'quotelink'; a.setAttribute('onclick', "replyhl('" + id + "');"); diff --git a/script.coffee b/script.coffee index a752626ea..45289e57a 100644 --- a/script.coffee +++ b/script.coffee @@ -2548,7 +2548,7 @@ Quotify = # \u00A0 is nbsp textContent: "#{quote}\u00A0(Dead)" - if board is g.BOARD and $.id "#p#{id}" + if board is g.BOARD and $.id "p#{id}" a.href = "#p#{id}" a.className = 'quotelink' a.setAttribute 'onclick', "replyhl('#{id}');"