Replying to one thread from another should open it in a new tab.
This commit is contained in:
parent
e152e3b1e9
commit
9d04b8fd9e
@ -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 and Conf['Open Post in New Tab'] # replying from the index
|
else if threadID isnt g.THREADID and lastPostToThread and Conf['Open Post in New Tab'] # 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
|
||||||
|
|||||||
@ -415,7 +415,7 @@ Config =
|
|||||||
]
|
]
|
||||||
'Open Post in New Tab': [
|
'Open Post in New Tab': [
|
||||||
true
|
true
|
||||||
'Open new threads or replies to a thread from the index in a new tab.'
|
'Open new threads in a new tab, and open replies in a new tab if you\'re not already in the thread.'
|
||||||
1
|
1
|
||||||
]
|
]
|
||||||
'Remember QR Size': [
|
'Remember QR Size': [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user