mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 09:25:45 +01:00
removed .category-item selectors
This commit is contained in:
@@ -29,7 +29,7 @@ define('forum/categories', function() {
|
||||
};
|
||||
|
||||
function renderNewPost(cid, post) {
|
||||
var category = $('.category-item[data-cid="' + cid + '"]');
|
||||
var category = components.get('category/topic', 'cid', cid);
|
||||
if (!category.length) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user