Skip to content

Node.js based forum software built for the modern web

removed left over template variable in category.js

psychobunny8a939fa4ccbf
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([