mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
fixing new post parsing to not add img-responsive to avatars
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user