Replying to one thread from another should open it in a new tab.

This commit is contained in:
ccd0 2016-06-17 23:07:11 -07:00
parent 02e9089f96
commit e833e47181

View File

@ -777,7 +777,7 @@ QR =
url = if threadID is postID # new thread
"#{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}"
if url