Update main.js
parent
e80deb6f8d
commit
5422b9ffae
4
main.js
4
main.js
|
@ -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...");
|
||||
|
|
Loading…
Reference in New Issue