Enable upload button based on select rather than ports

This commit is contained in:
Josh Stewart 2024-06-12 02:28:05 +10:00
parent d62812c712
commit 67df821a4b
1 changed files with 1 additions and 1 deletions

View File

@ -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;