I like that better
This commit is contained in:
parent
4d8e4b62da
commit
2ba7ae5d28
@ -6804,10 +6804,6 @@
|
|||||||
if (!(Conf['Persistent QR'] || QR.cooldown.auto)) {
|
if (!(Conf['Persistent QR'] || QR.cooldown.auto)) {
|
||||||
QR.close();
|
QR.close();
|
||||||
} else {
|
} else {
|
||||||
if (QR.posts.length > 1) {
|
|
||||||
QR.captcha.setup();
|
|
||||||
QR.captcha.afterSetup();
|
|
||||||
}
|
|
||||||
post.rm();
|
post.rm();
|
||||||
}
|
}
|
||||||
QR.cooldown.set({
|
QR.cooldown.set({
|
||||||
@ -7249,6 +7245,9 @@
|
|||||||
$.rmClass(QR.nodes.el, 'dump');
|
$.rmClass(QR.nodes.el, 'dump');
|
||||||
} else if (this === QR.selected) {
|
} else if (this === QR.selected) {
|
||||||
(QR.posts[index - 1] || QR.posts[index + 1]).select();
|
(QR.posts[index - 1] || QR.posts[index + 1]).select();
|
||||||
|
if (QR.captcha.isEnabled) {
|
||||||
|
QR.captcha.setup();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
QR.posts.splice(index, 1);
|
QR.posts.splice(index, 1);
|
||||||
return QR.status();
|
return QR.status();
|
||||||
|
|||||||
@ -6849,10 +6849,6 @@
|
|||||||
if (!(Conf['Persistent QR'] || QR.cooldown.auto)) {
|
if (!(Conf['Persistent QR'] || QR.cooldown.auto)) {
|
||||||
QR.close();
|
QR.close();
|
||||||
} else {
|
} else {
|
||||||
if (QR.posts.length > 1) {
|
|
||||||
QR.captcha.setup();
|
|
||||||
QR.captcha.afterSetup();
|
|
||||||
}
|
|
||||||
post.rm();
|
post.rm();
|
||||||
}
|
}
|
||||||
QR.cooldown.set({
|
QR.cooldown.set({
|
||||||
@ -7288,6 +7284,9 @@
|
|||||||
$.rmClass(QR.nodes.el, 'dump');
|
$.rmClass(QR.nodes.el, 'dump');
|
||||||
} else if (this === QR.selected) {
|
} else if (this === QR.selected) {
|
||||||
(QR.posts[index - 1] || QR.posts[index + 1]).select();
|
(QR.posts[index - 1] || QR.posts[index + 1]).select();
|
||||||
|
if (QR.captcha.isEnabled) {
|
||||||
|
QR.captcha.setup();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
QR.posts.splice(index, 1);
|
QR.posts.splice(index, 1);
|
||||||
return QR.status();
|
return QR.status();
|
||||||
|
|||||||
@ -791,9 +791,6 @@ QR =
|
|||||||
unless Conf['Persistent QR'] or QR.cooldown.auto
|
unless Conf['Persistent QR'] or QR.cooldown.auto
|
||||||
QR.close()
|
QR.close()
|
||||||
else
|
else
|
||||||
if QR.posts.length > 1
|
|
||||||
QR.captcha.setup()
|
|
||||||
QR.captcha.afterSetup()
|
|
||||||
post.rm()
|
post.rm()
|
||||||
|
|
||||||
QR.cooldown.set {req, post, isReply, threadID}
|
QR.cooldown.set {req, post, isReply, threadID}
|
||||||
|
|||||||
@ -80,6 +80,8 @@ QR.post = class
|
|||||||
$.rmClass QR.nodes.el, 'dump'
|
$.rmClass QR.nodes.el, 'dump'
|
||||||
else if @ is QR.selected
|
else if @ is QR.selected
|
||||||
(QR.posts[index-1] or QR.posts[index+1]).select()
|
(QR.posts[index-1] or QR.posts[index+1]).select()
|
||||||
|
if QR.captcha.isEnabled
|
||||||
|
QR.captcha.setup()
|
||||||
QR.posts.splice index, 1
|
QR.posts.splice index, 1
|
||||||
QR.status()
|
QR.status()
|
||||||
delete: ->
|
delete: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user