fix(client): ⚡ use better event type to prevent unnecessary and incomplete requests
This commit is contained in:
parent
c8100fd036
commit
8a0d2d4c71
|
@ -18,7 +18,7 @@
|
||||||
adresse IP ainsi que lui indiquer la distance à parcourir ou l'angle
|
adresse IP ainsi que lui indiquer la distance à parcourir ou l'angle
|
||||||
de rotation désiré.
|
de rotation désiré.
|
||||||
</p>
|
</p>
|
||||||
<form class="settings">
|
<form class="settings" onsubmit="setEndpoint()">
|
||||||
<label>
|
<label>
|
||||||
<span>Adresse IP du robot</span>
|
<span>Adresse IP du robot</span>
|
||||||
<input
|
<input
|
||||||
|
@ -41,9 +41,10 @@
|
||||||
max="360"
|
max="360"
|
||||||
step="1"
|
step="1"
|
||||||
placeholder="90"
|
placeholder="90"
|
||||||
|
onchange="rotate()"
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
<label for="valueLength">
|
<label>
|
||||||
<span>Longueur en cm</span>
|
<span>Longueur en cm</span>
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
|
@ -52,6 +53,7 @@
|
||||||
step="1"
|
step="1"
|
||||||
max="2147483647"
|
max="2147483647"
|
||||||
placeholder="10"
|
placeholder="10"
|
||||||
|
onchange="move()"
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue