fix: if category in selector has url use it

v1.18.x
Barış Soner Uşaklı 5 years ago
parent c47a1c4df4
commit 1f992cf371

@ -199,7 +199,11 @@ define('topicList', [
});
}
var categoryEl = $(this);
var cid = $(this).attr('data-cid');
var link = categoryEl.find('a').attr('href');
if (link && link !== '#' && link.length) {
return;
}
var cid = categoryEl.attr('data-cid');
if (ev.ctrlKey) {
selectChildren(cid, !categoryEl.find('[component="category/select/icon"]').hasClass('fa-check'));
}

Loading…
Cancel
Save