From e58cbc8897b57d74f772b0f3b10790e8538abe6f Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Thu, 26 Jan 2012 06:50:53 +0100 Subject: [PATCH] Disable auto-posting when the thread 404s. --- 4chan_x.user.js | 1 + script.coffee | 1 + 2 files changed, 2 insertions(+) diff --git a/4chan_x.user.js b/4chan_x.user.js index 6baeb3c68..ed280e96d 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1282,6 +1282,7 @@ if (g.dead) { value = 404; disabled = true; + qr.cooldown.auto = false; } else { value = qr.cooldown.seconds || data.progress || value; } diff --git a/script.coffee b/script.coffee index 42265a432..71e147514 100644 --- a/script.coffee +++ b/script.coffee @@ -923,6 +923,7 @@ qr = if g.dead value = 404 disabled = true + qr.cooldown.auto = false else # do not cancel `value = 'Loading'` once the cooldown is over value = qr.cooldown.seconds or data.progress or value