Merge branch 'v3'
Conflicts: LICENSE builds/4chan-X.user.js builds/crx/script.js
This commit is contained in:
commit
522d5476d8
@ -6538,13 +6538,13 @@
|
|||||||
if (post = g.posts[quoteID]) {
|
if (post = g.posts[quoteID]) {
|
||||||
if (!post.isDead) {
|
if (!post.isDead) {
|
||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
href: "/" + boardID + "/" + post.thread + "/res/#p" + postID,
|
href: "/" + boardID + "/res/" + post.thread + "#p" + postID,
|
||||||
className: 'quotelink',
|
className: 'quotelink',
|
||||||
textContent: quote
|
textContent: quote
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
href: "/" + boardID + "/" + post.thread + "/res/#p" + postID,
|
href: "/" + boardID + "/res/" + post.thread + "#p" + postID,
|
||||||
className: 'quotelink deadlink',
|
className: 'quotelink deadlink',
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
textContent: "" + quote + "\u00A0(Dead)"
|
textContent: "" + quote + "\u00A0(Dead)"
|
||||||
|
|||||||
@ -6539,13 +6539,13 @@
|
|||||||
if (post = g.posts[quoteID]) {
|
if (post = g.posts[quoteID]) {
|
||||||
if (!post.isDead) {
|
if (!post.isDead) {
|
||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
href: "/" + boardID + "/" + post.thread + "/res/#p" + postID,
|
href: "/" + boardID + "/res/" + post.thread + "#p" + postID,
|
||||||
className: 'quotelink',
|
className: 'quotelink',
|
||||||
textContent: quote
|
textContent: quote
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
href: "/" + boardID + "/" + post.thread + "/res/#p" + postID,
|
href: "/" + boardID + "/res/" + post.thread + "#p" + postID,
|
||||||
className: 'quotelink deadlink',
|
className: 'quotelink deadlink',
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
textContent: "" + quote + "\u00A0(Dead)"
|
textContent: "" + quote + "\u00A0(Dead)"
|
||||||
|
|||||||
@ -40,13 +40,13 @@ Quotify =
|
|||||||
# Don't (Dead) when quotifying in an archived post,
|
# Don't (Dead) when quotifying in an archived post,
|
||||||
# and we know the post still exists.
|
# and we know the post still exists.
|
||||||
a = $.el 'a',
|
a = $.el 'a',
|
||||||
href: "/#{boardID}/#{post.thread}/res/#p#{postID}"
|
href: "/#{boardID}/res/#{post.thread}#p#{postID}"
|
||||||
className: 'quotelink'
|
className: 'quotelink'
|
||||||
textContent: quote
|
textContent: quote
|
||||||
else
|
else
|
||||||
# Replace the .deadlink span if we can redirect.
|
# Replace the .deadlink span if we can redirect.
|
||||||
a = $.el 'a',
|
a = $.el 'a',
|
||||||
href: "/#{boardID}/#{post.thread}/res/#p#{postID}"
|
href: "/#{boardID}/res/#{post.thread}#p#{postID}"
|
||||||
className: 'quotelink deadlink'
|
className: 'quotelink deadlink'
|
||||||
target: '_blank'
|
target: '_blank'
|
||||||
textContent: "#{quote}\u00A0(Dead)"
|
textContent: "#{quote}\u00A0(Dead)"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user