MCPcopy Create free account
hub / github.com/Rello/analytics / releaseNavigationTarget

Function releaseNavigationTarget

js/userGuidance.js:569–572  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

567 const sectionTop = section => section.getBoundingClientRect().top
568 - panel.getBoundingClientRect().top + panel.scrollTop - panel.clientTop;
569 const releaseNavigationTarget = function () {
570 clearTimeout(navigationTimer);
571 navigationTimer = setTimeout(() => { navigationTarget = null; }, 150);
572 };
573 sections.forEach((section, index) => {
574 const heading = section.querySelector('h2');
575 const label = heading ? heading.textContent.trim() : t('analytics', 'Chart options');

Callers 2

userGuidance.jsFile · 0.85
syncActiveSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected