From 1ea935692393cbedf22d526e431004bab20f251d Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Tue, 1 Aug 2023 16:55:31 +0100 Subject: [PATCH] test --- assets/js/winkey.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/assets/js/winkey.js b/assets/js/winkey.js index db8aba5d..18f6cd37 100644 --- a/assets/js/winkey.js +++ b/assets/js/winkey.js @@ -1,10 +1,3 @@ -let isWinkeyConnected = false; - -// if isWinkeyConnected is false -if (!isWinkeyConnected) { - $('#winkey_buttons').hide(); -} - // Lets see if CW is selected const ModeSelected = document.getElementById('mode'); @@ -114,7 +107,6 @@ async function connect() { //Try to connect to the Serial port try { isWinkeyConnected = true; - $('#winkey_buttons').show(); port = await navigator.serial.requestPort(/*{ filters: [filter] }*/); // Continue connecting to |port|.