never remove "Ready to Flash!" button text

This commit is contained in:
Lucian Kranz
2026-01-28 05:43:46 +01:00
parent b0e18de29e
commit 97718328a3
+1 -4
View File
@@ -183,10 +183,7 @@
document.querySelector("esp-web-install-button").manifest = URL.createObjectURL(manifestBlob);
btn.textContent = 'Ready to Flash!';
setTimeout(() => {
btn.textContent = '';
btn.disabled = true;
}, 2000);
btn.disabled = true;
} catch (error) {
console.error(error);
btn.textContent = 'Error - Try Again';