diff --git a/growth-engine-v2.html b/growth-engine-v2.html index 3e278cff9..591e028d1 100644 --- a/growth-engine-v2.html +++ b/growth-engine-v2.html @@ -219,7 +219,7 @@ function build(){ nav.querySelectorAll('.vt').forEach(t=>{t.onclick=()=>{ nav.querySelectorAll('.vt').forEach(x=>x.classList.remove('on'));t.classList.add('on'); document.querySelectorAll('.sc').forEach(s=>s.classList.remove('on')); - const s=document.getElementById('s-'+t.dataset.v);if(s){s.classList.add('on');window.scrollTo({top:0,behavior:'smooth'});} + const s=document.getElementById('s-'+t.dataset.v);if(s){s.classList.add('on');window.scrollTo({top:0,behavior:'smooth'});setTimeout(function(){var n=document.getElementById('nav');if(n){var y=n.getBoundingClientRect().bottom+window.scrollY;window.scrollTo({top:y-8,behavior:'smooth'});}},180);} };}); const mn=document.getElementById('mn');