Fixed erronous inline JS

This commit is contained in:
Fred Boniface 2022-09-21 10:21:08 +01:00
parent 13f567b5cd
commit a1175d0f23
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
sendInput($title,$body); sendInput($title,$body);
// Redirect to submit-done.php // Redirect to submit-done.php
echo "<script>setTimeout(function()){window.location.href = '/submit-done.php';}, 5000);</script>"; echo "<script>setTimeout(function(){window.location.href = '/submit-done.php';}, 5000);</script>";
}; };
?> ?>

View File

@ -27,7 +27,7 @@
</div> </div>
<script> <script>
setTimeout(function()){ setTimeout(function(){
window.location.href = '/'; window.location.href = '/';
}, 5000); }, 5000);
</script> </script>