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 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
s = 'Deleted' s = 'Deleted'
link.textContent = s link.textContent = s