Update main.js

pull/43/head
Elijah Bansley 2018-10-21 13:38:38 -05:00 committed by GitHub
parent 703505cf6b
commit 72af5b8f11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}