User:Fotieno/vector-2022.js

//collaps default the TOC on opening an pages function hideToc { var toc = document.getElementById('toc').getElementsByTagName('ul')[0]; var toggleLink = document.getElementById('togglelink'); toc.style.display = 'none'; } hideToc;