Commit 0136e164 authored by Andreas Valder's avatar Andreas Valder
Browse files

fixed the stats beeing always loaded, even for non-moderators. closes #332

parent 0b433aa1
......@@ -97,7 +97,7 @@
{% endfor %}
</ul>
</div>
{% if ismod() %}
<script>
$.ajax({
method: "GET",
......@@ -131,4 +131,5 @@ $.ajax({
}
});
</script>
{% endif %}
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment