fixes
This commit is contained in:
BIN
html/assets/favicon.ico
Normal file
BIN
html/assets/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -45,14 +45,14 @@ window.onload = () => {
|
||||
formData.append("naming", naming.value)
|
||||
formData.append("name", name.value);
|
||||
formData.append("amount", parseInt(amount.value));
|
||||
text.value = "Flooding in progress...";
|
||||
text.innerText = "Flooding in progress...";
|
||||
text.style.color = "green";
|
||||
var request = await fetch("/api/flood", {
|
||||
method: "POST",
|
||||
body: formData
|
||||
})
|
||||
response = await request.json();
|
||||
text.value = response.message;
|
||||
text.innerText = response.message;
|
||||
if (response.type == "error")
|
||||
{
|
||||
text.style.color = "red";
|
||||
|
@ -4,7 +4,7 @@
|
||||
<title>Kahoot Flooder</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet'>
|
||||
<link rel="icon" href="assets/favicon.ico">
|
||||
<link rel="stylesheet" href="assets/style.css">
|
||||
<script type="text/javascript" src="assets/script.js"></script>
|
||||
</head>
|
||||
|
Reference in New Issue
Block a user