diff --git a/templates/course.html b/templates/course.html index 0c85dd20d5618ac18f72d057f6bcc0d4509d53a6..6dec013622ea2789742a781d4cd6aa7b6b55bd04 100644 --- a/templates/course.html +++ b/templates/course.html @@ -97,7 +97,7 @@ {% endfor %} </ul> </div> - +{% if ismod() %} <script> $.ajax({ method: "GET", @@ -131,4 +131,5 @@ $.ajax({ } }); </script> +{% endif %} {% endblock %}