mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Reload the page after postinstall anyway
This commit is contained in:
parent
779fb1adfa
commit
da6340b70b
1 changed files with 6 additions and 6 deletions
|
@ -216,7 +216,7 @@ app = Sammy('#main', function (sam) {
|
|||
interval = window.location.hostname === args.domain ? 20000 : 5000;
|
||||
checkInstall = setInterval(function () {
|
||||
c.checkInstall(function(isInstalled) {
|
||||
if (isInstalled || (window.location.hostname === args.domain && typeof isInstalled === 'undefined')) {
|
||||
if (isInstalled || typeof isInstalled === 'undefined') {
|
||||
c.flash('success', y18n.t('installation_complete'));
|
||||
clearInterval(checkInstall);
|
||||
window.location.href = 'https://'+ window.location.hostname +'/yunohost/admin/';
|
||||
|
|
Loading…
Add table
Reference in a new issue