Close #1035.
This commit is contained in:
parent
44499fe784
commit
abaf10e101
@ -1687,12 +1687,10 @@ DeleteLink =
|
|||||||
return if DeleteLink.cooldown.counting isnt post
|
return if DeleteLink.cooldown.counting isnt post
|
||||||
unless 0 <= seconds <= length
|
unless 0 <= seconds <= length
|
||||||
if DeleteLink.cooldown.counting is post
|
if DeleteLink.cooldown.counting is post
|
||||||
|
node.textContent = 'Delete'
|
||||||
delete DeleteLink.cooldown.counting
|
delete DeleteLink.cooldown.counting
|
||||||
return
|
return
|
||||||
setTimeout DeleteLink.cooldown.count, 1000, post, seconds - 1, length, node
|
setTimeout DeleteLink.cooldown.count, 1000, post, seconds - 1, length, node
|
||||||
if seconds is 0
|
|
||||||
node.textContent = 'Delete'
|
|
||||||
return
|
|
||||||
node.textContent = "Delete (#{seconds})"
|
node.textContent = "Delete (#{seconds})"
|
||||||
|
|
||||||
DownloadLink =
|
DownloadLink =
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user