From a501bd70af74b698de9cf0932d1a893ae5fe113e Mon Sep 17 00:00:00 2001 From: Mayhem Date: Tue, 9 Jul 2013 21:35:33 +0200 Subject: [PATCH] Fix #1184. --- src/Posting/QR.coffee | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 981053704..d73178dd8 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -1079,7 +1079,11 @@ QR = "/#{g.BOARD}/res/#{threadID}" else if g.VIEW is 'index' and !QR.cooldown.auto and Conf['Open Post in New Tab'] # replying from the index "/#{g.BOARD}/res/#{threadID}#p#{postID}" - (if Conf['Open Post in New Tab'] then $.open else location.assign) URL if URL + if URL + if Conf['Open Post in New Tab'] + $.open URL + else + window.location = URL QR.status()