We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfcc6be commit 12279acCopy full SHA for 12279ac
_assets/js/toc-base.js
@@ -1,6 +1,7 @@
1
function animateScrolling(hash) {
2
var isApiSection = $("article.api-reference").length == 1;
3
- var hasBreadCrumbs = $("p.breadcrumbs").length == 1 && $("p.breadcrumbs").text().trim() != "";
+ var breadCrumbsElement = $("p.breadcrumbs");
4
+ var hasBreadCrumbs = breadCrumbsElement.length == 1 && breadCrumbsElement.text().trim() != "";
5
var currentScrollTop = $(window).scrollTop();
6
var offset = $(hash).offset() || { top: currentScrollTop };
7
0 commit comments