From cfba8970e1b14d49ed61ca92c107314b74ab169f Mon Sep 17 00:00:00 2001 From: Peter Jaszkowiak Date: Wed, 30 Aug 2017 12:43:11 -0600 Subject: [PATCH] Fix posts block usage in categories page --- 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 34afcb0a7e..8357ff8a29 100644 --- a/public/src/client/categories.js +++ b/public/src/client/categories.js @@ -58,7 +58,7 @@ define('forum/categories', ['components', 'translator', 'benchpress'], function } function parseAndTranslate(posts, callback) { - Benchpress.parse('categories', '(categories\\.)?posts', { categories: { posts: posts } }, function (html) { + Benchpress.parse('partials/categories/lastpost', 'posts', { posts: posts }, function (html) { translator.translate(html, function (translatedHTML) { translatedHTML = $(translatedHTML); translatedHTML.find('.post-content img:not(.not-responsive)').addClass('img-responsive');