Update main.js

pull/1/merge
Elijah Bansley 2018-05-17 13:29:26 -05:00 committed by GitHub
parent c5a9a91f6e
commit 0825a557a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -113,6 +113,8 @@ document.getElementById("goButton").addEventListener("click", async () => {
let payload;
if (payloadType === "fusee.bin") {
payload = hekate5;
} else if (payloadType === "hekate4") {
payload = hekate4;
} else if (payloadType === "uploaded") {
const file = document.getElementById("payloadUpload").files[0];
if (!file) {
@ -139,10 +141,9 @@ document.getElementById("goButton").addEventListener("click", async () => {
let payload;
if (payloadType === "fusee.bin") {
//payload = fusee;
payload = hekate5;
} else if (payloadType === "hekate4") {
payload = hekate4
payload = hekate4;
} else if (payloadType === "uploaded") {
const file = document.getElementById("payloadUpload").files[0];
if (!file) {