Automatically close the dump list after posting all posts.
This commit is contained in:
parent
aa6f1e1495
commit
b2e1048857
@ -7482,6 +7482,7 @@
|
||||
index = QR.posts.indexOf(this);
|
||||
if (QR.posts.length === 1) {
|
||||
new QR.post(true);
|
||||
$.rmClass(QR.nodes.el, 'dump');
|
||||
} else if (this === QR.selected) {
|
||||
(QR.posts[index - 1] || QR.posts[index + 1]).select();
|
||||
}
|
||||
|
||||
@ -7472,6 +7472,7 @@
|
||||
index = QR.posts.indexOf(this);
|
||||
if (QR.posts.length === 1) {
|
||||
new QR.post(true);
|
||||
$.rmClass(QR.nodes.el, 'dump');
|
||||
} else if (this === QR.selected) {
|
||||
(QR.posts[index - 1] || QR.posts[index + 1]).select();
|
||||
}
|
||||
|
||||
@ -7468,6 +7468,7 @@
|
||||
index = QR.posts.indexOf(this);
|
||||
if (QR.posts.length === 1) {
|
||||
new QR.post(true);
|
||||
$.rmClass(QR.nodes.el, 'dump');
|
||||
} else if (this === QR.selected) {
|
||||
(QR.posts[index - 1] || QR.posts[index + 1]).select();
|
||||
}
|
||||
|
||||
@ -541,6 +541,7 @@ QR =
|
||||
index = QR.posts.indexOf @
|
||||
if QR.posts.length is 1
|
||||
new QR.post true
|
||||
$.rmClass QR.nodes.el, 'dump'
|
||||
else if @ is QR.selected
|
||||
(QR.posts[index-1] or QR.posts[index+1]).select()
|
||||
QR.posts.splice index, 1
|
||||
@ -1172,7 +1173,6 @@ QR =
|
||||
QR.error err
|
||||
return
|
||||
|
||||
|
||||
QR.cleanNotifications()
|
||||
h1 = $ 'h1', tmpDoc
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user