fix tables: prevent js error

This commit is contained in:
Maximilian Keßler 2023-12-22 20:19:57 +01:00
parent c586f3a92f
commit 4a05a7f849
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -59,9 +59,8 @@
</h4> </h4>
{% if num_player_stats.games_played == 0 %} {% if num_player_stats.games_played == 0 %}
There have been no games played on this variant with {{num_players}} players so far. There have been no games played on this variant with {{num_players}} players so far.
{% else %}
<div id="table-{{num_players}}"></div>
{% endif %} {% endif %}
<div id="table-{{num_players}}"></div>
</div> </div>
</div> </div>
{% endfor %} {% endfor %}