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}');"