diff --git a/maintenance/scripts/maintenance.js b/maintenance/scripts/maintenance.js index f212ec6..4b316e3 100644 --- a/maintenance/scripts/maintenance.js +++ b/maintenance/scripts/maintenance.js @@ -2,7 +2,9 @@ function reboot() { var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { + console.log("Ready..."); document.getElementById("logs").innerHTML = this.responseText; + console.log("Hop"); setTimeout(function () {location.reload()}, 5000); } };