From 3928ae08e030b131a82b256e0e340f97d2531a92 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Thu, 12 Dec 2013 02:10:53 +0100 Subject: [PATCH] Fix #1365. --- src/General/Index.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 30b151caf..8f79f133c 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -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