diff --git a/public/src/forum/category.js b/public/src/forum/category.js index 74aa54b037..582366f119 100644 --- a/public/src/forum/category.js +++ b/public/src/forum/category.js @@ -6,7 +6,7 @@ var new_post = document.getElementById('new_post'); new_post.onclick = function() { - app.open_post_window('topic', {category_id}); + app.open_post_window('topic', cid); } ajaxify.register_events([