Merge pull request #16983 from edx/schen/EDUCATOR-1549

Fix breadcrumb display so it does not include parent node texts
This commit is contained in:
Simon Chen
2017-12-21 12:24:53 -05:00
committed by GitHub

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()
);