Update main.js

This commit is contained in:
Elijah Bansley 2018-05-17 11:20:09 -05:00 committed by GitHub
parent f9980a3dd6
commit c01d6e8ad5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
logOutput("Logging payload bytes...");
let payload;
if (payloadType === "fusee.bin") {
payload = fusee;
payload = cfw;
} else if (payloadType === "uploaded") {
const file = document.getElementById("payloadUpload").files[0];
if (!file) {