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") {
|
} else if (payloadType === "uploaded") {
|
||||||
const file = document.getElementById("payloadUpload").files[0];
|
const file = document.getElementById("payloadUpload").files[0];
|
||||||
console.log(document.getElementById("payloadUpload").files[0]);
|
|
||||||
if (!file) {
|
if (!file) {
|
||||||
alert("You need to upload a file, to use an uploaded file.");
|
alert("You need to upload a file, to use an uploaded file.");
|
||||||
return;
|
return;
|
||||||
|
@ -185,6 +184,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
||||||
}
|
}
|
||||||
payloadToLog = payloadToLog;
|
payloadToLog = payloadToLog;
|
||||||
logOutput(payloadToLog);
|
logOutput(payloadToLog);
|
||||||
|
console.log(document.getElementById("payloadUpload").files[0]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue