Skip to content

Node.js based forum software built for the modern web

fix: private upload img replacement should happen before img wrapping

Julian Lam16aae517263b
diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.js
index ff797b63a7..b1efa1f4be 100644
--- a/public/src/client/topic/posts.js
+++ b/public/src/client/topic/posts.js
@@ -250,14 +250,13 @@ define('forum/topic/posts', [
};
Posts.onTopicPageLoad = function (posts) {
+ handlePrivateUploads(posts);
images.wrapImagesInLinks(posts);
Posts.showBottomPostBar();
posts.find('[component="post/content"] img:not(.not-responsive)').addClass('img-responsive');
Posts.addBlockquoteEllipses(posts);
-
hidePostToolsForDeletedPosts(posts);
addNecroPostMessage();
- handlePrivateUploads(posts);
};
function addNecroPostMessage() {