Co-authored-by: mco-system <michael.costa@mcos.nc>
Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
2023-04-20 15:09:57 +02:00
parent 4c32d8b7a5
commit ee43e98385
53 changed files with 2198 additions and 179 deletions

View File

@@ -0,0 +1,14 @@
function switch_visibility(item){
console.log(item.style.visibility);
console.log(item.style.display);
if (item.style.visibility == "hidden" || item.style.display == "none") {
item.style.visibility = "visible";
item.style.display = "block";
} else if (item.style.visibility == "" && item.style.display == "") {
item.style.visibility = "visible";
item.style.display = "block";
} else {
item.style.visibility = "hidden";
item.style.display = "none";
}
}