interface: fix: reset button doesn't trigger oninput

This commit is contained in:
root 2025-04-27 10:28:24 +00:00
parent 96a5876297
commit 507ec1c7ed

View file

@ -79,7 +79,7 @@ aside > container > div {
<input id="input-charge" type="range" min="-1.5" max="1.5" step="0.25"
style="min-width:100px;max-width:128px;"
oninput="set_charge(-Math.pow(10, input_charge.valueAsNumber))">
<input type="reset">
<input type="reset" onclick="input_charge.oninput()">
</form>
<div>
<button onclick="toggle_skeleton()">Skeleton</button>