Fix spectator mode

This commit is contained in:
cuom1999 2022-01-20 11:24:12 +07:00
parent 387ada23d6
commit 860560eb34

View file

@ -94,7 +94,9 @@
{% block js_media %}{% endblock %}
{% if request.in_contest %}
<script>$(function () {
count_down($("#contest-time-remaining"));
if ($("#contest-time-remaining").length) {
count_down($("#contest-time-remaining"));
}
var selected = null,
x_pos = 0, y_pos = 0,