Update main.js

pull/1/merge
Elijah Bansley 2018-05-17 08:33:47 -05:00 committed by GitHub
parent e80deb6f8d
commit 5422b9ffae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -106,8 +106,8 @@ async function launchPayload(payload) {
}
document.getElementById("goButton").addEventListener("click", async () => {
const shouldDebug = document.forms.mainForm.debug.value;
if(shouldDebug == "shouldDebug") {
var debugCheckbox = document.querySelector('input[value="shouldDebug"]');
if(debugCheckbox.checked) {
logOutput(payload);
}
logOutput("Requesting access to device...");