I like that better
This commit is contained in:
parent
4d8e4b62da
commit
2ba7ae5d28
@ -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();
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -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}
|
||||
|
||||
@ -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: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user