fixed automatic updating of home page

v1.18.x
psychobunny 11 years ago
parent ef2221d677
commit f3eb30b674

@ -67,7 +67,7 @@ define(function() {
function parseAndTranslate(posts, callback) {
ajaxify.loadTemplate('home', function(homeTemplate) {
var html = templates.parse(templates.getBlock(homeTemplate, 'categories.posts'), {categories: {posts: posts}});
var html = templates.parse(templates.getBlock(homeTemplate, 'posts'), {categories: {posts: posts}});
translator.translate(html, function(translatedHTML) {
translatedHTML = $(translatedHTML);

Loading…
Cancel
Save