mirror of
https://github.com/usetrmnl/tailor.git
synced 2026-04-29 13:44:32 -07:00
never remove "Ready to Flash!" button text
This commit is contained in:
+1
-4
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user