mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-08 11:21:40 +02:00
closes #5931
This commit is contained in:
@@ -115,9 +115,12 @@ $('document').ready(function () {
|
||||
$('#launch .fa-spin').removeClass('hide');
|
||||
|
||||
$.post('/launch', function () {
|
||||
setInterval(function () {
|
||||
var checker = setInterval(function () {
|
||||
$.get('/admin').done(function () {
|
||||
window.location = 'admin';
|
||||
clearInterval(checker);
|
||||
setTimeout(function () {
|
||||
window.location = 'admin';
|
||||
}, 2000);
|
||||
});
|
||||
}, 750);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user