interface: fix: reset button doesn't trigger oninput
This commit is contained in:
parent
96a5876297
commit
bf0c9f72a0
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ aside > container > div {
|
||||||
<input id="input-charge" type="range" min="-1.5" max="1.5" step="0.25"
|
<input id="input-charge" type="range" min="-1.5" max="1.5" step="0.25"
|
||||||
style="min-width:100px;max-width:128px;"
|
style="min-width:100px;max-width:128px;"
|
||||||
oninput="set_charge(-Math.pow(10, input_charge.valueAsNumber))">
|
oninput="set_charge(-Math.pow(10, input_charge.valueAsNumber))">
|
||||||
<input type="reset">
|
<input type="reset" onclick="input_charge.valueAsNumber = 0; input_charge.oninput();">
|
||||||
</form>
|
</form>
|
||||||
<div>
|
<div>
|
||||||
<button onclick="toggle_skeleton()">Skeleton</button>
|
<button onclick="toggle_skeleton()">Skeleton</button>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue