Fix spectator mode
This commit is contained in:
parent
387ada23d6
commit
860560eb34
1 changed files with 3 additions and 1 deletions
|
@ -94,7 +94,9 @@
|
||||||
{% block js_media %}{% endblock %}
|
{% block js_media %}{% endblock %}
|
||||||
{% if request.in_contest %}
|
{% if request.in_contest %}
|
||||||
<script>$(function () {
|
<script>$(function () {
|
||||||
count_down($("#contest-time-remaining"));
|
if ($("#contest-time-remaining").length) {
|
||||||
|
count_down($("#contest-time-remaining"));
|
||||||
|
}
|
||||||
|
|
||||||
var selected = null,
|
var selected = null,
|
||||||
x_pos = 0, y_pos = 0,
|
x_pos = 0, y_pos = 0,
|
||||||
|
|
Loading…
Add table
Reference in a new issue