mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46: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) {
|
Posts.onTopicPageLoad = function (posts) {
|
||||||
|
handlePrivateUploads(posts);
|
||||||
images.wrapImagesInLinks(posts);
|
images.wrapImagesInLinks(posts);
|
||||||
Posts.showBottomPostBar();
|
Posts.showBottomPostBar();
|
||||||
posts.find('[component="post/content"] img:not(.not-responsive)').addClass('img-responsive');
|
posts.find('[component="post/content"] img:not(.not-responsive)').addClass('img-responsive');
|
||||||
Posts.addBlockquoteEllipses(posts);
|
Posts.addBlockquoteEllipses(posts);
|
||||||
|
|
||||||
hidePostToolsForDeletedPosts(posts);
|
hidePostToolsForDeletedPosts(posts);
|
||||||
addNecroPostMessage();
|
addNecroPostMessage();
|
||||||
handlePrivateUploads(posts);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
function addNecroPostMessage() {
|
function addNecroPostMessage() {
|
||||||
|
|||||||
Reference in New Issue
Block a user