Skip to content

Node.js based forum software built for the modern web

closes #5931

Julian Lame64c1d28e6f8
diff --git a/public/src/installer/install.js b/public/src/installer/install.js
index 2b789041da..bccd3dd08d 100644
--- a/public/src/installer/install.js
+++ b/public/src/installer/install.js
@@ -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);
});