diff --git a/4chan_x.user.js b/4chan_x.user.js index b664c3680..341a8cd57 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3339,7 +3339,7 @@ nodes.push(a = $.el('a', { textContent: "" + quote + "\u00A0(Dead)" })); - if (board === g.BOARD && $.id(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 ea44c39ff..1ed25ed4e 100644 --- a/script.coffee +++ b/script.coffee @@ -2541,7 +2541,7 @@ Quotify = # \u00A0 is nbsp textContent: "#{quote}\u00A0(Dead)" - if board is g.BOARD and $.id id + if board is g.BOARD and $.id "#p#{id}" a.href = "#p#{id}" a.className = 'quotelink' a.setAttribute 'onclick', "replyhl('#{id}');"