From fabc75d9eb6de1d32ee6c4a925a59ee4ad7ca9a0 Mon Sep 17 00:00:00 2001 From: Elijah Bansley Date: Sun, 24 Jun 2018 08:45:33 -0500 Subject: [PATCH] Update main.js --- main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.js b/main.js index 1cc8f1a..b13d519 100644 --- a/main.js +++ b/main.js @@ -132,6 +132,8 @@ document.getElementById("goButton").addEventListener("click", async () => { clearLog(); var debugCheckbox = document.getElementById("shouldDebug"); const payloadType = document.getElementById("payloadSelect").value; + + if(!debugCheckbox.checked) { logOutput("Requesting access to device..."); try { @@ -141,6 +143,7 @@ document.getElementById("goButton").addEventListener("click", async () => { logOutput("Failed to get a device. Did you chose one?"); return; } + } let payload; if (payloadType === "hekate v5") {