Fix resurrected quotes opening in new tabs. #482
Particularly a problem for deleted posts in the same thread. In all cases inconsistent with current normal quotelink behavior.
This commit is contained in:
parent
cdd3097738
commit
0fd554705c
@ -53,7 +53,6 @@ Quotify =
|
|||||||
a = $.el 'a',
|
a = $.el 'a',
|
||||||
href: Build.postURL boardID, post.thread.ID, postID
|
href: Build.postURL boardID, post.thread.ID, postID
|
||||||
className: 'quotelink deadlink'
|
className: 'quotelink deadlink'
|
||||||
target: '_blank'
|
|
||||||
textContent: "#{quote}\u00A0(Dead)"
|
textContent: "#{quote}\u00A0(Dead)"
|
||||||
$.extend a.dataset, {boardID, threadID: post.thread.ID, postID}
|
$.extend a.dataset, {boardID, threadID: post.thread.ID, postID}
|
||||||
|
|
||||||
@ -65,7 +64,6 @@ Quotify =
|
|||||||
a = $.el 'a',
|
a = $.el 'a',
|
||||||
href: redirect or 'javascript:;'
|
href: redirect or 'javascript:;'
|
||||||
className: 'deadlink'
|
className: 'deadlink'
|
||||||
target: '_blank'
|
|
||||||
textContent: "#{quote}\u00A0(Dead)"
|
textContent: "#{quote}\u00A0(Dead)"
|
||||||
if fetchable
|
if fetchable
|
||||||
# Make it function as a normal quote if we can fetch the post.
|
# Make it function as a normal quote if we can fetch the post.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user