Don't need to be 100% sure to remove the cooldown.

This commit is contained in:
ccd0 2015-08-16 02:43:46 -07:00
parent d9a0bd1df3
commit 3db44c08a7

View File

@ -100,9 +100,9 @@ DeleteLink =
DeleteLink.auto[+fileOnly][post.fullID] = true
DeleteLink.nodes.links[+fileOnly].textContent = DeleteLink.linkText fileOnly
else
QR.cooldown.delete post unless fileOnly
if resDoc.title is 'Updating index...'
# We're 100% sure.
QR.cooldown.delete post unless fileOnly
(post.origin or post).kill fileOnly
link.textContent = 'Deleted' if post.fullID is DeleteLink.post.fullID