mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-27 06:54:00 +00:00
Prevent shutdown page from multiple shutdowns
This commit is contained in:
parent
8d49e56d6f
commit
111ce603e4
|
@ -4,8 +4,12 @@
|
||||||
{% include 'includes/head.html' %}
|
{% include 'includes/head.html' %}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
function redirectHome() {
|
||||||
|
window.location.replace("/");
|
||||||
|
}
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
setInterval(checkStatus, 30000);
|
setInterval(redirectHome, 30000);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user