From 183cabe90fbd5cc56ec9c6e982015a48ac526384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 25 Dec 2020 23:19:45 -0500 Subject: [PATCH] fix: #9150, fix selector so it doesn't add img-responsive to profile pics --- public/src/client/account/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {