|
|
@ -35,10 +35,13 @@ modes.forEach(element => {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var tabChilds=document.getElementById(tab.item(cpt).id).children;
|
|
|
|
var tabChilds=document.getElementById(tab.item(cpt).id).children;
|
|
|
|
for(var cptChild=0;cptChild<tabChilds.length;cptChild++)
|
|
|
|
for(var cptChild=0;cptChild<tabChilds.length;cptChild++)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if(!tabChilds.item(cptChild).id.includes("btn_"))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
tabChilds.item(cptChild).classList.remove("selected");
|
|
|
|
tabChilds.item(cptChild).classList.remove("selected");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
document.getElementById(e.currentTarget.id).classList.add("selected");
|
|
|
|
document.getElementById(e.currentTarget.id).classList.add("selected");
|
|
|
|
modeSelected= e.currentTarget.id;
|
|
|
|
modeSelected= e.currentTarget.id;
|
|
|
|