Skip to content

Node.js based forum software built for the modern web

fixed automatic updating of home page

psychobunnyf3eb30b674f1
diff --git a/public/src/forum/home.js b/public/src/forum/home.js
index b2d2e553ce..122b524b8b 100644
--- a/public/src/forum/home.js
+++ b/public/src/forum/home.js
@@ -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);