fix: private upload img replacement should happen before img wrapping

v1.18.x
Julian Lam 6 years ago
parent 49e3a368f8
commit 16aae51726

@ -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() {

Loading…
Cancel
Save