diff --git a/public/src/client/home.js b/public/src/client/home.js index ae52d240c0..013c351176 100644 --- a/public/src/client/home.js +++ b/public/src/client/home.js @@ -61,9 +61,7 @@ define('forum/home', function() { } function parseAndTranslate(posts, callback) { - ajaxify.loadTemplate('home', function(homeTemplate) { - var html = templates.parse(templates.getBlock(homeTemplate, 'posts'), {categories: {posts: posts}}); - + templates.parse('home', 'posts', {categories: {posts: posts}}, function(html) { translator.translate(html, function(translatedHTML) { translatedHTML = $(translatedHTML); translatedHTML.find('img').addClass('img-responsive');