I like that better

This commit is contained in:
Zixaphir 2014-04-05 00:58:57 -07:00
parent 4d8e4b62da
commit 2ba7ae5d28
4 changed files with 8 additions and 11 deletions

View File

@ -6804,10 +6804,6 @@
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({
@ -7249,6 +7245,9 @@
$.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();

View File

@ -6849,10 +6849,6 @@
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({
@ -7288,6 +7284,9 @@
$.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();

View File

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

View File

@ -80,6 +80,8 @@ 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: ->