From b7bba928a4636ebc79defac2959967f971854558 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Thu, 9 Oct 2014 18:13:12 -0400 Subject: [PATCH] migrating home page to new partials #2230 --- public/src/client/home.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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');