This commit is contained in:
Mayhem 2013-12-12 02:10:53 +01:00
parent ceff7c5d5f
commit 3928ae08e0

View File

@ -208,6 +208,7 @@ Index =
return unless Index.req and !Index.notice
Index.notice = new Notice 'info', 'Refreshing index...'
), 5 * $.SECOND - (Date.now() - now)
pageNum = null if typeof pageNum isnt 'number' # event
onload = (e) -> Index.load e, pageNum
Index.req = $.ajax "//a.4cdn.org/#{g.BOARD}/catalog.json",
onabort: onload