From c987b8474ea1646e5bf09b92ae5d5aefa5faa67f Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 22 Nov 2016 10:48:50 -0500 Subject: [PATCH] fixing new post parsing to not add img-responsive to avatars --- public/src/client/categories.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/categories.js b/public/src/client/categories.js index 672fa38cf9..bd27aed0a2 100644 --- a/public/src/client/categories.js +++ b/public/src/client/categories.js @@ -63,7 +63,7 @@ define('forum/categories', ['components', 'translator'], function (components, t templates.parse('categories', '(categories.)?posts', {categories: {posts: posts}}, function (html) { translator.translate(html, function (translatedHTML) { translatedHTML = $(translatedHTML); - translatedHTML.find('img:not(.not-responsive)').addClass('img-responsive'); + translatedHTML.find('.post-content img:not(.not-responsive)').addClass('img-responsive'); callback(translatedHTML); });