This commit is contained in:
Mayhem 2013-08-12 19:27:46 +02:00
parent e695713a80
commit 30d0cc8718

View File

@ -29,7 +29,7 @@ Redirect =
update: (cb) ->
$.get 'lastarchivecheck', 0, ({lastarchivecheck}) ->
now = Date.now()
# Update the list of archives every 4 days.
# Update the list of archives every 2 days.
# The list is also updated when 4chan X gets updated.
return if lastarchivecheck > now - 2 * $.DAY
$.ajax '<%= meta.page %>json/archives.json', onload: ->