Update main.js

This commit is contained in:
Elijah Bansley 2018-05-19 04:19:51 -05:00 committed by GitHub
parent 375e4b44df
commit ec52c64a9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,6 +122,8 @@ document.getElementById("goButton").addEventListener("click", async () => {
payload = hekate4;
} else if (payloadType === "fusee") {
payload = fusee;
} else if (payloadType === "instaboot") {
payload = instaboot;
} else if (payloadType === "uploaded") {
const file = document.getElementById("payloadUpload").files[0];
if (!file) {
@ -153,6 +155,8 @@ document.getElementById("goButton").addEventListener("click", async () => {
payload = hekate4;
} else if (payloadType === "fusee") {
payload = fusee;
} else if (payloadType === "instaboot") {
payload = instaboot;
} else if (payloadType === "uploaded") {
const file = document.getElementById("payloadUpload").files[0];
if (!file) {