Adjust initial index refresh notice delay, changelog.
This commit is contained in:
parent
293bf70aee
commit
5f1ce2d9ec
@ -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*
|
## 3.12.0 - *2013-11-03*
|
||||||
|
|
||||||
Index navigation improvements:
|
Index navigation improvements:
|
||||||
|
|||||||
@ -148,7 +148,7 @@ Index =
|
|||||||
setTimeout (->
|
setTimeout (->
|
||||||
return unless Index.req and !Index.notice
|
return unless Index.req and !Index.notice
|
||||||
Index.notice = new Notice 'info', 'Refreshing index...'
|
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",
|
Index.req = $.ajax "//api.4chan.org/#{g.BOARD}/catalog.json",
|
||||||
onabort: Index.load
|
onabort: Index.load
|
||||||
onloadend: Index.load
|
onloadend: Index.load
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user