File-only deletions should not remove the cooldown.
This commit is contained in:
parent
c399eff09e
commit
9970fa6c29
@ -97,7 +97,7 @@ DeleteLink =
|
|||||||
else
|
else
|
||||||
if resDoc.title is 'Updating index...'
|
if resDoc.title is 'Updating index...'
|
||||||
# We're 100% sure.
|
# We're 100% sure.
|
||||||
QR.cooldown.delete post
|
QR.cooldown.delete post unless fileOnly
|
||||||
(post.origin or post).kill fileOnly
|
(post.origin or post).kill fileOnly
|
||||||
link.textContent = 'Deleted' if post.fullID is DeleteLink.post.fullID
|
link.textContent = 'Deleted' if post.fullID is DeleteLink.post.fullID
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user