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

Function releaseNavigationTarget

js/userGuidance.js:699–702  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

697 const sectionTop = section => section.getBoundingClientRect().top
698 - panel.getBoundingClientRect().top + panel.scrollTop - panel.clientTop;
699 const releaseNavigationTarget = function () {
700 clearTimeout(navigationTimer);
701 navigationTimer = setTimeout(() => { navigationTarget = null; }, 150);
702 };
703 sections.forEach((section, index) => {
704 const heading = section.querySelector('h2');
705 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