Update main.js
parent
703505cf6b
commit
72af5b8f11
2
main.js
2
main.js
|
@ -163,7 +163,6 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
|||
|
||||
} else if (payloadType === "uploaded") {
|
||||
const file = document.getElementById("payloadUpload").files[0];
|
||||
console.log(document.getElementById("payloadUpload").files[0]);
|
||||
if (!file) {
|
||||
alert("You need to upload a file, to use an uploaded file.");
|
||||
return;
|
||||
|
@ -185,6 +184,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
|||
}
|
||||
payloadToLog = payloadToLog;
|
||||
logOutput(payloadToLog);
|
||||
console.log(document.getElementById("payloadUpload").files[0]);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue