Fix breadcrumb display so it does not include parent node texts

EDUCATOR-1549
This commit is contained in:
Simon Chen
2017-12-20 14:45:02 -05:00
parent d00697f592
commit 2bccfb9376

View File

@@ -279,12 +279,17 @@
crumbs = [],
subTopic = $('.forum-nav-browse-title', $item)
.first()
.contents()
.last()
.text()
.trim();
$parentSubMenus.each(function(i, el) {
crumbs.push($(el).siblings('.forum-nav-browse-title')
crumbs.push(
$(el).siblings('.forum-nav-browse-title')
.first()
.contents()
.last()
.text()
.trim()
);