Reload captcha if there are posts in the queue.

Conflicts:
	LICENSE
	builds/4chan-X.user.js
	builds/crx/script.js
This commit is contained in:
Zixaphir 2014-04-05 00:46:16 -07:00 committed by ccd0
parent 730f275406
commit 29a26680a1
4 changed files with 430 additions and 379 deletions

View File

@ -1,5 +1,5 @@
/*
* 4chan X - Version 1.5.2 - 2014-04-04
* 4chan X - Version 1.5.2 - 2014-04-06
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -787,6 +787,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}