get error page back working
This commit is contained in:
parent
8e1d48dc66
commit
0ec0062182
3 changed files with 4 additions and 6 deletions
|
@ -35,4 +35,8 @@ function startNewTask() {
|
|||
historyContainer = terminal.getElementsByClassName("history")[0];
|
||||
promptContainer = terminal.getElementsByClassName("prompt")[0];
|
||||
printTask = setInterval(writeOut, intervalTime);
|
||||
}
|
||||
|
||||
if(document.querySelector(".terminal-window") != null){
|
||||
startNewTask();
|
||||
}
|
|
@ -56,8 +56,5 @@ if (strpos($_SERVER['HTTP_HOST'], '.onion') !== false) {
|
|||
];
|
||||
</script>
|
||||
<script src="/js/script.js"></script>
|
||||
<script>
|
||||
startNewTask();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -59,9 +59,6 @@ function getError500()
|
|||
];
|
||||
</script>
|
||||
<script src="/js/script.js"></script>
|
||||
<script>
|
||||
startNewTask();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
|
|
Loading…
Reference in a new issue