mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-16 22:12:04 +02:00
Merge branch 'master' into develop
This commit is contained in:
@@ -61,11 +61,12 @@ define('categoryFilter', ['categorySearch', 'api', 'hooks'], function (categoryS
|
||||
}
|
||||
});
|
||||
|
||||
el.on('click', '[component="category/list"] [data-cid]', function () {
|
||||
el.on('click', '[component="category/list"] [data-cid]', function (ev) {
|
||||
const listEl = el.find('[component="category/list"]');
|
||||
const categoryEl = $(this);
|
||||
const link = categoryEl.find('a').attr('href');
|
||||
if (link && link !== '#' && link.length) {
|
||||
ev.stopPropagation();
|
||||
return;
|
||||
}
|
||||
const cid = categoryEl.attr('data-cid');
|
||||
|
||||
Reference in New Issue
Block a user