Update main.js

pull/1/merge
Elijah Bansley 2018-05-17 11:51:45 -05:00 committed by GitHub
parent 26f1a8624d
commit fd28e9127e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -132,11 +132,12 @@ document.getElementById("goButton").addEventListener("click", async () => {
logOutput("You're trying to load a payload type that doesn't exist.");
return;
}
const payloadToLog = "";
var payloadToLog = "";
for (var i = 0; i < payload.length; i++) {
payloadToLog += hexToString(payload[i]);
}
logOutput(payloadToLog);
const storedpayload = payloadToLog;
return;
}
logOutput("Requesting access to device...");