From 0b48315ee74e8394f5952112d399e2d96c45ae86 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 16 Dec 2012 12:25:44 +0100 Subject: [PATCH] Close #860. --- 4chan_x.user.js | 3 +++ script.coffee | 1 + 2 files changed, 4 insertions(+) diff --git a/4chan_x.user.js b/4chan_x.user.js index 808f94e1a..8058b60bb 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1633,6 +1633,9 @@ }, open: function(thread, tab) { var id, url; + if (g.REPLY) { + return; + } id = thread.id.slice(1); url = "//boards.4chan.org/" + g.BOARD + "/res/" + id; if (tab) { diff --git a/script.coffee b/script.coffee index a82e65cc7..d7d5b96bb 100644 --- a/script.coffee +++ b/script.coffee @@ -1256,6 +1256,7 @@ Keybinds = $('textarea', QR.el).focus() open: (thread, tab) -> + return if g.REPLY id = thread.id[1..] url = "//boards.4chan.org/#{g.BOARD}/res/#{id}" if tab