fix pinning posts for bet jannies

master
Aevann 2024-08-07 05:26:46 +03:00
parent 9045cde0f4
commit f0d4714938
2 changed files with 2 additions and 2 deletions

View File

@ -382,7 +382,7 @@
{% if v.can_edit(p) %}
<script defer src="{{'js/edit_post.js' | asset}}"></script>
{% endif %}
{% if v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
{% if v.admin_level >= PERMS['PINNING_POSTS'] %}
<script defer src="{{'js/admin/pinpost.js' | asset}}"></script>
{% endif %}
{% endif %}

View File

@ -4,7 +4,7 @@
{% include "modals/award.html" %}
{% endif %}
{% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
{% if v and v.admin_level >= PERMS['PINNING_POSTS'] %}
<script defer src="{{'js/admin/pinpost.js' | asset}}"></script>
{% endif %}