Skip to content

Commit

Permalink
Update installer2.html
Browse files Browse the repository at this point in the history
  • Loading branch information
alf45tar authored Oct 5, 2024
1 parent c9cf3f3 commit 127e7c9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions installer2.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,7 @@ <h1>PedalinoMini™ Installer</h1>
// Event listener for the version select dropdown
document.querySelector('#version-select').addEventListener("change", (event) => {
const button = document.querySelector('esp-web-install-button');
if (button) {
button.manifest = event.target.value; // Make sure 'manifest' is a valid property
console.log("Selected value:", event.target.value);
console.log("Manifest:", button.manifest);
} else {
console.error("Button not found.");
}
button.manifest = event.target.value;
});
</script>
<script>
Expand Down Expand Up @@ -213,6 +207,8 @@ <h1>PedalinoMini™ Installer</h1>
});

versionSelect.disabled = false;
const button = document.querySelector('esp-web-install-button');
button.manifest = versions[0].value;
statusMessage.textContent = "Scanning completed.";
} else {
statusMessage.textContent = "No firmware files found for the selected board.";
Expand Down

0 comments on commit 127e7c9

Please sign in to comment.