mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-09 16:38:32 +01:00
implement autoform clear
This commit is contained in:
@@ -263,3 +263,8 @@ if(fastposSubmission){
|
||||
fastposSubmission.addEventListener("focus", fastPosChangedFunc)
|
||||
}
|
||||
setInterval(queryForPlayerData(), 3000)
|
||||
|
||||
formContainer = document.getElementById("form-container")
|
||||
if(formContainer){
|
||||
formContainer.reset()
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<hr>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<form id="form-container" class="row">
|
||||
{% for side in sides %}
|
||||
<div class="col-sm">
|
||||
{% for field in range(5) %}
|
||||
@@ -71,7 +71,7 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</form>
|
||||
<hr>
|
||||
|
||||
<textarea type="text" id="multi-line-copy" rows="10"
|
||||
|
||||
Reference in New Issue
Block a user