mirror of
https://github.com/wasrusgen/wasrusgen1-crm.git
synced 2026-06-03 17:04:46 +00:00
fix: go() loop starts from 0 — overview nav works correctly
This commit is contained in:
parent
039983a19c
commit
99ac54b28b
@ -1384,7 +1384,7 @@ const hints={0:'Обзор проекта — все этапы',1:'Этап 1/5
|
|||||||
const pcts={0:60,1:20,2:40,3:60,4:80,5:100};
|
const pcts={0:60,1:20,2:40,3:60,4:80,5:100};
|
||||||
|
|
||||||
function go(n){
|
function go(n){
|
||||||
for(let i=1;i<=5;i++){
|
for(let i=0;i<=5;i++){
|
||||||
const sv=document.getElementById('sv'+i);
|
const sv=document.getElementById('sv'+i);
|
||||||
if(sv) sv.style.display='none';
|
if(sv) sv.style.display='none';
|
||||||
const si=document.getElementById('si'+i);
|
const si=document.getElementById('si'+i);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user