Skip to content

Commit

Permalink
Let user click label to check box
Browse files Browse the repository at this point in the history
  • Loading branch information
wcolding committed Jan 16, 2024
1 parent fe11b26 commit 2c8d86f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/App.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
<div class="checkElement" id="{{entry.game}}_{{check.name}}">
<div class="checkGame">{{entry.game}}</div>
<div class="checkObjType">{{check.obj_type}}</div>
<input type=checkbox onclick="setCheck({{entry}}, {{check}}, checked)">
<label>{{check.name}}</label>
<input type=checkbox id="{{entry.game}}_{{check.name}}_box" onclick="setCheck({{entry}}, {{check}}, checked)">
<label for="{{entry.game}}_{{check.name}}_box">{{check.name}}</label>
</div>
<br>
{% endfor %}
Expand Down

0 comments on commit 2c8d86f

Please sign in to comment.