Replace form with div to avoid default button handling
This commit is contained in:
@@ -140,7 +140,7 @@
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<form id="configForm" class="controls">
|
||||
<div class="controls">
|
||||
<div>
|
||||
<label>Sample Rate (Hz)</label>
|
||||
<input type="number" id="sampleRate" value="10000" min="1" max="83333">
|
||||
@@ -171,9 +171,9 @@
|
||||
</div>
|
||||
<div>
|
||||
<button id="resetBtn">Reset</button>
|
||||
<button id="powerOff"><a style="text-decoration: none; color: inherit" href="/poweroff">Power off</a></button>
|
||||
<button id="powerOff">Power off</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="deltaPanel"></div>
|
||||
|
||||
Reference in New Issue
Block a user