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
|
||||
de rotation désiré.
|
||||
</p>
|
||||
<form class="settings">
|
||||
<form class="settings" onsubmit="setEndpoint()">
|
||||
<label>
|
||||
<span>Adresse IP du robot</span>
|
||||
<input
|
||||
|
@ -41,9 +41,10 @@
|
|||
max="360"
|
||||
step="1"
|
||||
placeholder="90"
|
||||
onchange="rotate()"
|
||||
/>
|
||||
</label>
|
||||
<label for="valueLength">
|
||||
<label>
|
||||
<span>Longueur en cm</span>
|
||||
<input
|
||||
type="number"
|
||||
|
@ -52,6 +53,7 @@
|
|||
step="1"
|
||||
max="2147483647"
|
||||
placeholder="10"
|
||||
onchange="move()"
|
||||
/>
|
||||
</label>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue