diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index b9df13977..0983622e3 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -6807,6 +6807,10 @@ if (!(Conf['Persistent QR'] || QR.cooldown.auto)) { QR.close(); } else { + if (QR.posts.length > 1) { + QR.captcha.setup(); + QR.captcha.afterSetup(); + } post.rm(); } QR.cooldown.set({ @@ -7248,9 +7252,6 @@ $.rmClass(QR.nodes.el, 'dump'); } else if (this === QR.selected) { (QR.posts[index - 1] || QR.posts[index + 1]).select(); - if (QR.captcha.isEnabled) { - QR.captcha.setup(); - } } QR.posts.splice(index, 1); return QR.status(); diff --git a/builds/crx/script.js b/builds/crx/script.js index a206f69d0..b8b0ebf10 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -6852,6 +6852,10 @@ if (!(Conf['Persistent QR'] || QR.cooldown.auto)) { QR.close(); } else { + if (QR.posts.length > 1) { + QR.captcha.setup(); + QR.captcha.afterSetup(); + } post.rm(); } QR.cooldown.set({ @@ -7287,9 +7291,6 @@ $.rmClass(QR.nodes.el, 'dump'); } else if (this === QR.selected) { (QR.posts[index - 1] || QR.posts[index + 1]).select(); - if (QR.captcha.isEnabled) { - QR.captcha.setup(); - } } QR.posts.splice(index, 1); return QR.status(); diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index a4ea8ca58..f21ffb0fe 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -793,6 +793,9 @@ QR = unless Conf['Persistent QR'] or QR.cooldown.auto QR.close() else + if QR.posts.length > 1 + QR.captcha.setup() + QR.captcha.afterSetup() post.rm() QR.cooldown.set {req, post, isReply, threadID} diff --git a/src/Posting/QR.post.coffee b/src/Posting/QR.post.coffee index 0e2d2d320..6e6daa84a 100644 --- a/src/Posting/QR.post.coffee +++ b/src/Posting/QR.post.coffee @@ -80,8 +80,6 @@ QR.post = class $.rmClass QR.nodes.el, 'dump' else if @ is QR.selected (QR.posts[index-1] or QR.posts[index+1]).select() - if QR.captcha.isEnabled - QR.captcha.setup() QR.posts.splice index, 1 QR.status() delete: ->