Browse Source

Update index.js

pull/13978/head
Engincan VESKE 4 years ago
parent
commit
b860079aa6
  1. 2
      modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.js

2
modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.js

@ -268,7 +268,7 @@
for (let i = 0; i < selectedTreeItems.length; i++)
{
var anchorItem = $(selectedTreeItems[i]).find("a");
documentNodeNames.append('<li class="breadcrumb-item"><a href="' + anchorItem.attr("href") + '">' + anchorItem.html() + '</a></li>');
documentNodeNames.append('<li class="breadcrumb-item ' + (i === selectedTreeItems.length - 1 ? "active": "") + '"><a href="' + anchorItem.attr("href") + '">' + anchorItem.html() + '</a></li>');
}
}
};

Loading…
Cancel
Save