mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: private upload img replacement should happen before img wrapping
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user