Update post/delete cooldown timers.
This commit is contained in:
parent
6f33ee26e1
commit
d3654f9079
@ -84,7 +84,7 @@ DeleteLink =
|
||||
delete DeleteLink.cooldown.counting
|
||||
return
|
||||
DeleteLink.cooldown.counting = post
|
||||
length = 30
|
||||
length = 60
|
||||
seconds = Math.ceil (length * $.SECOND - (Date.now() - post.info.date)) / $.SECOND
|
||||
DeleteLink.cooldown.count post, seconds, length, node
|
||||
count: (post, seconds, length, node) ->
|
||||
|
||||
@ -233,9 +233,9 @@ QR =
|
||||
when 'q' then 86400
|
||||
when 'b', 'soc', 'r9k' then 600
|
||||
else 300
|
||||
sage: if board is 'q' then 600 else 60
|
||||
file: if board is 'q' then 300 else 30
|
||||
post: if board is 'q' then 150 else 30
|
||||
sage: if board is 'q' then 600 else 120
|
||||
file: if board is 'q' then 300 else 60
|
||||
post: if board is 'q' then 150 else 60
|
||||
QR.cooldown.upSpd = 0
|
||||
QR.cooldown.upSpdAccuracy = .5
|
||||
$.get "cooldown.#{board}", {}, (item) ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user