Set a close timeout on the Index.notify

This commit is contained in:
Zixaphir 2014-01-11 11:31:15 -07:00
parent c2ac7e66b1
commit 4ae16f4131
3 changed files with 3 additions and 3 deletions

View File

@ -2503,7 +2503,7 @@
$.ready(function() {
return setTimeout((function() {
if (Index.req && !Index.notice) {
return Index.notice = new Notice('info', 'Refreshing index...');
return Index.notice = new Notice('info', 'Refreshing index...', 2);
}
}), 3 * $.SECOND - (Date.now() - now));
});

View File

@ -2513,7 +2513,7 @@
$.ready(function() {
return setTimeout((function() {
if (Index.req && !Index.notice) {
return Index.notice = new Notice('info', 'Refreshing index...');
return Index.notice = new Notice('info', 'Refreshing index...', 2);
}
}), 3 * $.SECOND - (Date.now() - now));
});

View File

@ -238,7 +238,7 @@ Index =
$.ready ->
setTimeout (->
if Index.req and !Index.notice
Index.notice = new Notice 'info', 'Refreshing index...'
Index.notice = new Notice 'info', 'Refreshing index...', 2
), 3 * $.SECOND - (Date.now() - now)
pageNum = null if typeof pageNum isnt 'number' # event