fix css and javascript bug for hiding/show stuff

This commit is contained in:
Marcus 2024-10-29 01:43:40 +01:00
parent cf824c1c61
commit 92724fa1f4
2 changed files with 2 additions and 2 deletions

View file

@ -224,7 +224,7 @@ input[type=text], input[type=date], input[type=number], input[type=password], se
} }
.visible { .visible {
display: inline-block!important; display: inline;
/*justify-content: center!important;*/ /*justify-content: center!important;*/
} }

View file

@ -44,7 +44,7 @@ function hideAllClass(classname) {
const el = document.getElementsByClassName(classname); const el = document.getElementsByClassName(classname);
for(let i = 0; i < el.length ; i++) { for(let i = 0; i < el.length ; i++) {
el[i].style.display = ''; el[i].style.display = 'none';
} }
} }