removed .category-item selectors

This commit is contained in:
psychobunny
2015-03-19 13:58:29 -04:00
parent 10eb617c6d
commit 4ca6364dd4
2 changed files with 9 additions and 9 deletions

View File

@@ -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;
}