diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index aeff78bba..49af589a0 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -6538,13 +6538,13 @@ if (post = g.posts[quoteID]) { if (!post.isDead) { a = $.el('a', { - href: "/" + boardID + "/" + post.thread + "/res/#p" + postID, + href: "/" + boardID + "/res/" + post.thread + "#p" + postID, className: 'quotelink', textContent: quote }); } else { a = $.el('a', { - href: "/" + boardID + "/" + post.thread + "/res/#p" + postID, + href: "/" + boardID + "/res/" + post.thread + "#p" + postID, className: 'quotelink deadlink', target: '_blank', textContent: "" + quote + "\u00A0(Dead)" diff --git a/builds/crx/script.js b/builds/crx/script.js index 8bf59fa24..00cd6d312 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -6539,13 +6539,13 @@ if (post = g.posts[quoteID]) { if (!post.isDead) { a = $.el('a', { - href: "/" + boardID + "/" + post.thread + "/res/#p" + postID, + href: "/" + boardID + "/res/" + post.thread + "#p" + postID, className: 'quotelink', textContent: quote }); } else { a = $.el('a', { - href: "/" + boardID + "/" + post.thread + "/res/#p" + postID, + href: "/" + boardID + "/res/" + post.thread + "#p" + postID, className: 'quotelink deadlink', target: '_blank', textContent: "" + quote + "\u00A0(Dead)" diff --git a/src/Quotelinks/Quotify.coffee b/src/Quotelinks/Quotify.coffee index 524f74f6c..2b20e4dcc 100644 --- a/src/Quotelinks/Quotify.coffee +++ b/src/Quotelinks/Quotify.coffee @@ -40,13 +40,13 @@ Quotify = # Don't (Dead) when quotifying in an archived post, # and we know the post still exists. a = $.el 'a', - href: "/#{boardID}/#{post.thread}/res/#p#{postID}" + href: "/#{boardID}/res/#{post.thread}#p#{postID}" className: 'quotelink' textContent: quote else # Replace the .deadlink span if we can redirect. a = $.el 'a', - href: "/#{boardID}/#{post.thread}/res/#p#{postID}" + href: "/#{boardID}/res/#{post.thread}#p#{postID}" className: 'quotelink deadlink' target: '_blank' textContent: "#{quote}\u00A0(Dead)"