Update main.js

pull/1/merge
Elijah Bansley 2018-05-18 00:35:44 -05:00 committed by GitHub
parent 37fbe740e0
commit 95d6e51abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
logOutput("Requesting access to device...");
device = await navigator.usb.requestDevice({ filters: [{ vendorId: 0x0955 }] });
logOutput(`Preparing to launch ${payloadType}...`);
logOutput(`<p style='color:blue'>Preparing to launch ${payloadType}...</p>`);
let payload;
if (payloadType === "hekate v5") {
@ -161,7 +161,7 @@ document.getElementById("goButton").addEventListener("click", async () => {
}
payload = new Uint8Array(await readFileAsArrayBuffer(file));
} else {
logOutput("You're trying to load a payload type that doesn't exist.");
logOutput("<p style='color:red'>You're trying to load a payload type that doesn't exist.</p>");
return;
}