Replying to one thread from another should open it in a new tab.
This commit is contained in:
parent
02e9089f96
commit
e833e47181
@ -777,7 +777,7 @@ QR =
|
|||||||
|
|
||||||
url = if threadID is postID # new thread
|
url = if threadID is postID # new thread
|
||||||
"#{window.location.origin}/#{g.BOARD}/thread/#{threadID}"
|
"#{window.location.origin}/#{g.BOARD}/thread/#{threadID}"
|
||||||
else if g.VIEW is 'index' and lastPostToThread # replying from the index
|
else if threadID isnt g.THREADID and lastPostToThread # replying from the index or a different thread
|
||||||
"#{window.location.origin}/#{g.BOARD}/thread/#{threadID}#p#{postID}"
|
"#{window.location.origin}/#{g.BOARD}/thread/#{threadID}#p#{postID}"
|
||||||
|
|
||||||
if url
|
if url
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user