Team:NCKU Tainan/js/T--NCKU Tainan--Notebook js

$(function(){for(var e=document.getElementsByClassName("title-content"),t=0;t<e.length;++t)e[t].addEventListener("click",function(){for(var e=document.getElementsByClassName("title-content"),t=0;t<e.length;++t)if(this===e[t]){var n=document.getElementsByClassName("text-content")[t];n.style.display="none"==n.style.display||""==n.style.display?"block":"none"}})});