From 3fe403ae2be19722e02d860d2c573a03539543b7 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 18 Sep 2023 21:57:06 +0300 Subject: [PATCH] make new_comments.js run as early as it can so it marks posts as visited --- files/templates/post_listing.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/templates/post_listing.html b/files/templates/post_listing.html index 068bdc9a26..04276d980c 100644 --- a/files/templates/post_listing.html +++ b/files/templates/post_listing.html @@ -271,6 +271,8 @@ {% endif %} {% endfor %} + + {% 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'] %} {% endif %} - -