File-only deletions should not remove the cooldown.

This commit is contained in:
ccd0 2015-08-07 23:18:52 -07:00
parent 5864ed53ce
commit 026926757a

View File

@ -69,7 +69,7 @@ DeleteLink =
else
if resDoc.title is 'Updating index...'
# We're 100% sure.
QR.cooldown.delete post
QR.cooldown.delete post unless fileOnly
(post.origin or post).kill fileOnly
s = 'Deleted'
link.textContent = s