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;