Adjust initial index refresh notice delay, changelog.

This commit is contained in:
Mayhem 2013-11-04 18:47:42 +01:00
parent 293bf70aee
commit 5f1ce2d9ec
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
- The index refreshing notification will now only appear on initial page load with slow connections.
- Minor fixes.
## 3.12.0 - *2013-11-03*
Index navigation improvements:

View File

@ -148,7 +148,7 @@ Index =
setTimeout (->
return unless Index.req and !Index.notice
Index.notice = new Notice 'info', 'Refreshing index...'
), $.SECOND - (Date.now() - now)
), 5 * $.SECOND - (Date.now() - now)
Index.req = $.ajax "//api.4chan.org/#{g.BOARD}/catalog.json",
onabort: Index.load
onloadend: Index.load