make new_comments.js run as early as it can so it marks posts as visited

pull/202/head
Aevann 2023-09-18 21:57:06 +03:00
parent 11bf3df817
commit 3fe403ae2b
1 changed files with 2 additions and 2 deletions

View File

@ -271,6 +271,8 @@
{% endif %}
{% endfor %}
<script src="{{'js/new_comments.js' | asset}}"></script>
{% if v %}
{% include "modals/delete_post.html" %}
{% include "modals/report_post.html" %}
@ -285,5 +287,3 @@
{% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
<script defer src="{{'js/admin/post.js' | asset}}"></script>
{% endif %}
<script defer src="{{'js/new_comments.js' | asset}}"></script>