Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
{% if ismod() %}
<script> <script>
$.ajax({ $.ajax({
method: "GET", method: "GET",
...@@ -131,4 +131,5 @@ $.ajax({ ...@@ -131,4 +131,5 @@ $.ajax({
} }
}); });
</script> </script>
{% endif %}
{% endblock %} {% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment