flash works when not in EXE
This commit is contained in:
@@ -298,7 +298,7 @@
|
||||
<p class="subtitle">Firmware Flasher</p>
|
||||
</div>
|
||||
|
||||
<form id="flashForm">
|
||||
<form id="flashForm" onsubmit="return false;">
|
||||
<div class="port-section">
|
||||
<div class="form-group">
|
||||
<label for="port">Serial Port</label>
|
||||
@@ -444,6 +444,8 @@
|
||||
|
||||
document.getElementById('flashForm').addEventListener('submit', async (e) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
e.stopImmediatePropagation();
|
||||
|
||||
const flashBtn = document.getElementById('flashBtn');
|
||||
const progressBar = document.getElementById('progressBar');
|
||||
|
||||
Reference in New Issue
Block a user