Skip to content

Node.js based forum software built for the modern web

fix: #9150, fix selector so it doesn't add img-responsive to profile pics

Barış Soner Uşaklı183cabe90fbd
diff --git a/public/src/client/account/profile.js b/public/src/client/account/profile.js
index f69941e192..d75e451615 100644
--- a/public/src/client/account/profile.js
+++ b/public/src/client/account/profile.js
@@ -19,7 +19,7 @@ define('forum/account/profile', [
};
function processPage() {
- $('[component="posts"] img:not(.not-responsive), [component="aboutme"] img:not(.not-responsive)').addClass('img-responsive');
+ $('[component="posts"] [component="post/content"] img:not(.not-responsive), [component="aboutme"] img:not(.not-responsive)').addClass('img-responsive');
}
function onUserStatusChange(data) {