Merge branch 'develop' into activitypub

This commit is contained in:
Barış Soner Uşaklı
2024-07-03 13:47:18 -04:00
2 changed files with 6 additions and 5 deletions

View File

@@ -87,10 +87,10 @@
"jsonwebtoken": "9.0.2",
"lodash": "4.17.21",
"logrotate-stream": "0.2.9",
"lru-cache": "10.2.2",
"lru-cache": "10.3.0",
"mime": "3.0.0",
"mkdirp": "3.0.1",
"mongodb": "6.7.0",
"mongodb": "6.8.0",
"morgan": "1.10.0",
"mousetrap": "1.6.5",
"multiparty": "4.2.3",
@@ -117,7 +117,7 @@
"passport-local": "1.0.0",
"pg": "8.12.0",
"pg-cursor": "2.11.0",
"postcss": "8.4.38",
"postcss": "8.4.39",
"postcss-clean": "1.2.0",
"progress-webpack-plugin": "1.0.16",
"prompt": "1.3.0",
@@ -147,7 +147,7 @@
"webpack": "5.92.1",
"webpack-merge": "5.10.0",
"winston": "3.13.0",
"workerpool": "9.1.2",
"workerpool": "9.1.3",
"xml": "1.0.1",
"xregexp": "5.1.1",
"yargs": "17.7.2",

View File

@@ -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');