From 5ef564f5986497009e5a27da4ee8cdec794f9336 Mon Sep 17 00:00:00 2001 From: James Campos Date: Fri, 2 Sep 2011 23:12:45 -0700 Subject: [PATCH] *really* handle dups --- 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 3a0a57c7b..58c506d9d 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1407,6 +1407,7 @@ tc = data.textContent; if (tc === 'Error: Duplicate file entry detected.') { QR.attachNext(); + QR.submit(); } return; } diff --git a/script.coffee b/script.coffee index 0fce5e2bc..9ca9ecd38 100644 --- a/script.coffee +++ b/script.coffee @@ -1101,6 +1101,7 @@ QR = tc = data.textContent if tc is 'Error: Duplicate file entry detected.' QR.attachNext() + QR.submit() return if conf['Persistent QR'] or $('#files input', QR.el)?.files.length QR.reset()