Skip to content
Snippets Groups Projects
Commit 6ec02fd6 authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

auskommentiert

parent 8a7b999f
No related branches found
No related tags found
No related merge requests found
Pipeline #414856 passed
......@@ -250,22 +250,22 @@ export function openIt({whattoopen, classnamewhattoopen}: {whattoopen: string, c
return openit;
}
function openItTwo({it}: {it: string}){
/* function openItTwo({it}: {it: string}){
const openit = (event : React.MouseEvent<HTMLElement, MouseEvent>) => {
/* console.log(document.getElementById(it)) */
console.log(document.getElementById(it)?.className)
let tabcontent = document.getElementsByClassName("col outreach");
for (let i = 0; i < tabcontent.length; i++) {
(tabcontent[i] as HTMLElement).style.display = "none";
}
/* console.log(document.getElementById(it)!.style.display) */
document.getElementById(it)!.style.display = "block";
event.currentTarget.className += " active";
}
return openit;
}
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment