Set a close timeout on the Index.notify
This commit is contained in:
parent
c2ac7e66b1
commit
4ae16f4131
@ -2503,7 +2503,7 @@
|
|||||||
$.ready(function() {
|
$.ready(function() {
|
||||||
return setTimeout((function() {
|
return setTimeout((function() {
|
||||||
if (Index.req && !Index.notice) {
|
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));
|
}), 3 * $.SECOND - (Date.now() - now));
|
||||||
});
|
});
|
||||||
|
|||||||
@ -2513,7 +2513,7 @@
|
|||||||
$.ready(function() {
|
$.ready(function() {
|
||||||
return setTimeout((function() {
|
return setTimeout((function() {
|
||||||
if (Index.req && !Index.notice) {
|
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));
|
}), 3 * $.SECOND - (Date.now() - now));
|
||||||
});
|
});
|
||||||
|
|||||||
@ -238,7 +238,7 @@ Index =
|
|||||||
$.ready ->
|
$.ready ->
|
||||||
setTimeout (->
|
setTimeout (->
|
||||||
if Index.req and !Index.notice
|
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)
|
), 3 * $.SECOND - (Date.now() - now)
|
||||||
|
|
||||||
pageNum = null if typeof pageNum isnt 'number' # event
|
pageNum = null if typeof pageNum isnt 'number' # event
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user