diff --git a/templates/problem/problem.html b/templates/problem/problem.html
index 7814e9f..6111dea 100644
--- a/templates/problem/problem.html
+++ b/templates/problem/problem.html
@@ -109,7 +109,7 @@
$('#comment-announcement').click();
}
- {% if not available_judge %}
+ {% if not available_judges %}
$('#judge-toggle').click();
{% endif %}
});