Don't open replies from the index in a new tab if the conf Open Post in New Tab is disabled. #968

This commit is contained in:
Nicolas Stepien 2013-03-25 03:55:27 +01:00
parent c9f4a757ed
commit 65ef1d0210

View File

@ -985,7 +985,7 @@ QR =
if threadID is postID # new thread
URL = "/#{g.BOARD}/res/#{threadID}"
else if g.VIEW is 'index' and !QR.cooldown.auto # posting from the index
else if g.VIEW is 'index' and !QR.cooldown.auto and Conf['Open Post in New Tab'] # replying from the index
URL = "/#{g.BOARD}/res/#{threadID}#p#{postID}"
if URL
if Conf['Open Post in New Tab']