Skip to content
Snippets Groups Projects
Commit 3fd46b5b authored by Maximilian Giller's avatar Maximilian Giller
Browse files

Added input validation to simulation time

parent 70cd9806
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<label for="stop-physics-delay">Amount of time [in seconds] after which the physics simulation is stopped</label> <label for="stop-physics-delay">Amount of time [in seconds] after which the physics simulation is stopped</label>
</br> </br>
<input type="number" value="5" id="stop-physics-delay" name="stop-physics-delay" class="small-width"> <input type="number" onkeypress="return (event.charCode !=8 && event.charCode ==0 || (event.charCode >= 48 && event.charCode <= 57))" value="5" id="stop-physics-delay" name="stop-physics-delay" class="small-width">
</input> </input>
</div> </div>
</section> </section>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment