mirror of https://github.com/flarum/flarum
not redirecting back
parent
82e1f52add
commit
4e96483cc3
|
@ -56,7 +56,7 @@
|
||||||
method: 'post',
|
method: 'post',
|
||||||
success: function(state) {
|
success: function(state) {
|
||||||
if(state == 'true') {
|
if(state == 'true') {
|
||||||
location.replace(location.pathname.replace('/install/index.php', ''));
|
location.replace(location.pathname.replace('install/index.php', ''));
|
||||||
} else if(statusElement.text() != state) {
|
} else if(statusElement.text() != state) {
|
||||||
statusElement.text(state);
|
statusElement.text(state);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue