mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-07 10:42:27 +02:00
fixed automatic updating of home page
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user