From 0e9aa20e6cc91e35d7d453111aecbbde3ab4f9d0 Mon Sep 17 00:00:00 2001 From: Elijah Bansley Date: Thu, 17 May 2018 16:30:13 -0500 Subject: [PATCH] Update main.js --- main.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 2800431..72d6e2f 100644 --- a/main.js +++ b/main.js @@ -115,6 +115,8 @@ document.getElementById("goButton").addEventListener("click", async () => { payload = hekate5; } else if (payloadType === "hekate v4") { payload = hekate4; + } else if (payloadType === "fusee") { + payload = fusee; } else if (payloadType === "uploaded") { const file = document.getElementById("payloadUpload").files[0]; if (!file) { @@ -140,10 +142,12 @@ document.getElementById("goButton").addEventListener("click", async () => { logOutput(`Preparing to launch ${payloadType}...`); let payload; - if (payloadType === "fusee.bin") { + if (payloadType === "hekate5") { payload = hekate5; } else if (payloadType === "hekate4") { payload = hekate4; + } else if (payloadType === "fusee") { + payload = fusee; } else if (payloadType === "uploaded") { const file = document.getElementById("payloadUpload").files[0]; if (!file) {