fixes a bug in instant updates on category view

This commit is contained in:
psychobunny
2016-02-17 18:49:07 -05:00
parent e306194065
commit 759b183967

View File

@@ -59,7 +59,7 @@ define('forum/categories', ['components', 'translator'], function(components, tr
}
function parseAndTranslate(posts, callback) {
templates.parse('categories', 'posts', {categories: {posts: posts}}, function(html) {
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');