File-only deletions should not remove the cooldown.

This commit is contained in:
ccd0 2015-08-07 23:18:52 -07:00
parent c399eff09e
commit 9970fa6c29

View File

@ -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