From 67df821a4bd50b6532596c97e49f557de21896e3 Mon Sep 17 00:00:00 2001 From: Josh Stewart Date: Wed, 12 Jun 2024 02:28:05 +1000 Subject: [PATCH] Enable upload button based on select rather than ports --- renderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer.js b/renderer.js index 4cbc7e1..d25b34e 100644 --- a/renderer.js +++ b/renderer.js @@ -141,7 +141,7 @@ function refreshSerialPorts() var button = document.getElementById("btnInstall") - if(ports.length > 0) + if(select.length > 0) { select.selectedIndex = 0; button.disabled = false;