diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 96634a444..eaa72671a 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -858,9 +858,9 @@ QR = QR.cooldown.set {req, post, isReply, threadID} URL = if threadID is postID # new thread - "/#{g.BOARD}/thread/#{threadID}" + "#{window.location.origin}/#{g.BOARD}/thread/#{threadID}" else if g.VIEW is 'index' and !QR.cooldown.auto and Conf['Open Post in New Tab'] # replying from the index - "/#{g.BOARD}/thread/#{threadID}#p#{postID}" + "#{window.location.origin}/#{g.BOARD}/thread/#{threadID}#p#{postID}" if URL if Conf['Open Post in New Tab'] $.open URL