some debug stuff

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

View File

@ -163,6 +163,7 @@ 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;