From 9d04b8fd9eeccdf9d4de95ff4ebaedff851cf176 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 6 Jul 2016 13:16:21 -0700 Subject: [PATCH] Replying to one thread from another should open it in a new tab. --- src/Posting/QR.coffee | 2 +- src/config/Config.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 8884e5b3f..e7c3c7c25 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -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 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}" if URL diff --git a/src/config/Config.coffee b/src/config/Config.coffee index 04a0841dd..381372443 100644 --- a/src/config/Config.coffee +++ b/src/config/Config.coffee @@ -415,7 +415,7 @@ Config = ] 'Open Post in New Tab': [ 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 ] 'Remember QR Size': [