Fix quotifying link hrefs in certain cases.
That's a 5 months old bug that didn't seem to affect anyone...
This commit is contained in:
parent
93c297b324
commit
6a710cbf0e
@ -41,13 +41,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)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user