v1.18.x
psychobunny 9 years ago
parent 650890ad83
commit 5d01060fbc

@ -59,7 +59,7 @@ define('forum/categories', ['components', 'translator'], function(components, tr
} }
function parseAndTranslate(posts, callback) { function parseAndTranslate(posts, callback) {
templates.parse('categories', 'categories.posts', {categories: {posts: posts}}, function(html) { templates.parse('categories', '(categories.)?posts', {categories: {posts: posts}}, function(html) {
translator.translate(html, function(translatedHTML) { translator.translate(html, function(translatedHTML) {
translatedHTML = $(translatedHTML); translatedHTML = $(translatedHTML);
translatedHTML.find('img:not(.not-responsive)').addClass('img-responsive'); translatedHTML.find('img:not(.not-responsive)').addClass('img-responsive');

Loading…
Cancel
Save